X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..527f99514973766e9c0382a4d8550dfb00f54939:/iokit/Kernel/IOInterruptAccounting.cpp 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);