X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..a39ff7e25e19b3a8c3020042a3872ca9ec9659f1:/iokit/Kernel/IOInterruptAccounting.cpp?ds=inline diff --git a/iokit/Kernel/IOInterruptAccounting.cpp b/iokit/Kernel/IOInterruptAccounting.cpp index 8130cce23..bfaf153b2 100644 --- a/iokit/Kernel/IOInterruptAccounting.cpp +++ b/iokit/Kernel/IOInterruptAccounting.cpp @@ -30,10 +30,12 @@ #include uint32_t gInterruptAccountingStatisticBitmask = +#if !defined(__arm__) /* Disable timestamps for older ARM platforms; they are expensive. */ IA_GET_ENABLE_BIT(kInterruptAccountingFirstLevelTimeIndex) | IA_GET_ENABLE_BIT(kInterruptAccountingSecondLevelCPUTimeIndex) | IA_GET_ENABLE_BIT(kInterruptAccountingSecondLevelSystemTimeIndex) | +#endif IA_GET_ENABLE_BIT(kInterruptAccountingFirstLevelCountIndex) | IA_GET_ENABLE_BIT(kInterruptAccountingSecondLevelCountIndex);