]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOInterruptAccounting.cpp
xnu-4570.51.1.tar.gz
[apple/xnu.git] / iokit / Kernel / IOInterruptAccounting.cpp
index 8130cce23bc6daee4dedfc5277d11df6a9683ff2..bfaf153b23f76fdedc887fa4a031cd67b8362fc0 100644 (file)
 #include <IOKit/IOKernelReporters.h>
 
 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);