Lines Matching refs:statistics
114 reserved->statistics = IOMallocType(IOInterruptAccountingData); in init()
116 reserved->statistics->owner = this; in init()
161 if ((ret == kIOReturnSuccess) && (reserved->statistics)) { in registerInterruptHandler()
165 reserved->statistics->interruptIndex = inIntIndex; in registerInterruptHandler()
176 provider->addInterruptStatistics(reserved->statistics, inIntIndex); in registerInterruptHandler()
184 interruptAccountingDataAddToList(reserved->statistics); in registerInterruptHandler()
194 if (reserved->statistics) { in unregisterInterruptHandler()
195 interruptAccountingDataRemoveFromList(reserved->statistics); in unregisterInterruptHandler()
196 provider->removeInterruptStatistics(reserved->statistics->interruptIndex); in unregisterInterruptHandler()
241 if (reserved->statistics) { in free()
242 IOFreeType(reserved->statistics, IOInterruptAccountingData); in free()
346 if (reserved->statistics) { in checkForWork()
363 if (reserved->statistics) { in checkForWork()
365 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelCountIndex]… in checkForWork()
370 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelCPUTimeInde… in checkForWork()
375 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelSystemTimeI… in checkForWork()
398 if (reserved->statistics) { in checkForWork()
415 if (reserved->statistics) { in checkForWork()
418 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelSystemTimeI… in checkForWork()
423 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelCPUTimeInde… in checkForWork()
427 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingSecondLevelCountIndex]… in checkForWork()
460 if (reserved->statistics) { in normalInterruptOccurred()
461 if (reserved->statistics->enablePrimaryTimestamp) { in normalInterruptOccurred()
462 reserved->statistics->primaryTimestamp = mach_absolute_time(); in normalInterruptOccurred()
465 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingFirstLevelCountIndex],… in normalInterruptOccurred()
491 if (reserved->statistics) { in disableInterruptOccurred()
492 if (reserved->statistics->enablePrimaryTimestamp) { in disableInterruptOccurred()
493 reserved->statistics->primaryTimestamp = mach_absolute_time(); in disableInterruptOccurred()
496 …IA_ADD_VALUE(&reserved->statistics->interruptStatistics[kInterruptAccountingFirstLevelCountIndex],… in disableInterruptOccurred()
528 if (reserved->statistics) { in enablePrimaryInterruptTimestamp()
529 reserved->statistics->enablePrimaryTimestamp = enable; in enablePrimaryInterruptTimestamp()
536 if (reserved->statistics && reserved->statistics->enablePrimaryTimestamp) { in getPrimaryInterruptTimestamp()
537 return reserved->statistics->primaryTimestamp; in getPrimaryInterruptTimestamp()