Lines Matching defs:paStates
167 PTSTRTR0TIMEROMNI1 paStates = (PTSTRTR0TIMEROMNI1)pvUser;
175 uint32_t iCountedTick = ASMAtomicIncU32(&paStates[iCpu].cTicks);
178 paStates[iCpu].u64Last = RTTimeSystemNanoTS();
179 if (!paStates[iCpu].u64Start)
181 paStates[iCpu].u64Start = paStates[iCpu].u64Last;
783 PTSTRTR0TIMEROMNI1 paStates = (PTSTRTR0TIMEROMNI1)RTMemAllocZ(sizeof(paStates[0]) * RTCPUSET_MAX_CPUS);
784 RTR0TESTR0_CHECK_MSG_BREAK(paStates, ("%d\n", RTCPUSET_MAX_CPUS));
789 int rc = RTTimerCreateEx(&pTimer, cNsInterval, fFlags, tstRTR0TimerCallbackOmni, paStates);
801 paStates[iCpu].u64Start = 0;
802 paStates[iCpu].u64Last = 0;
803 ASMAtomicWriteU32(&paStates[iCpu].cTicks, 0);
823 if (paStates[iCpu].u64Start)
825 if (paStates[iCpu].u64Start < u64MinStart)
826 u64MinStart = paStates[iCpu].u64Start;
827 if (paStates[iCpu].u64Last > u64MaxStop)
828 u64MaxStop = paStates[iCpu].u64Last;
841 if (paStates[iCpu].cTicks)
844 RTR0TESTR0_CHECK_MSG(paStates[iCpu].cTicks <= cMaxTicks && paStates[iCpu].cTicks >= cMinTicks,
846 cMinTicks, paStates[iCpu].cTicks, cAvgTicks, cMaxTicks, iCpu,
854 RTMemFree(paStates);