• Home
  • Raw
  • Download

Lines Matching refs:MAXCPUS

99         SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION StartInfo[MAXCPUS +1];
100 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION EndInfo[MAXCPUS +1];
234 sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*(MAXCPUS +1)); in RestartPerfCntrs()
240 (PCHAR)&PerfCntrs->EndInfo[0], sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*MAXCPUS, in RestartPerfCntrs()
270 (MAXCPUS +1 - returnNumCPUs)); in RestartPerfCntrs()
280 PerfCntrs->EndInfo[MAXCPUS].IdleTime.QuadPart += PerfCntrs->EndInfo[i].IdleTime.QuadPart; in RestartPerfCntrs()
281 … PerfCntrs->EndInfo[MAXCPUS].KernelTime.QuadPart += PerfCntrs->EndInfo[i].KernelTime.QuadPart; in RestartPerfCntrs()
282 PerfCntrs->EndInfo[MAXCPUS].UserTime.QuadPart += PerfCntrs->EndInfo[i].UserTime.QuadPart; in RestartPerfCntrs()
283 PerfCntrs->EndInfo[MAXCPUS].DpcTime.QuadPart += PerfCntrs->EndInfo[i].DpcTime.QuadPart; in RestartPerfCntrs()
284 …PerfCntrs->EndInfo[MAXCPUS].InterruptTime.QuadPart += PerfCntrs->EndInfo[i].InterruptTime.QuadPart; in RestartPerfCntrs()
285 … PerfCntrs->EndInfo[MAXCPUS].InterruptCount += PerfCntrs->EndInfo[i].InterruptCount; in RestartPerfCntrs()
304 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION DeltaInfo[MAXCPUS +1]; in ReportPerfCntrs()
306 LARGE_INTEGER TotalCPUTime[MAXCPUS +1]; in ReportPerfCntrs()
312 for (i=0; i <= MAXCPUS; i++) in ReportPerfCntrs()
336 …tot_CPU_Util = 100.0*(1.0 - (double)DeltaInfo[MAXCPUS].IdleTime.QuadPart/(double)TotalCPUTime[MAXC… in ReportPerfCntrs()
375 …100.0*(double)DeltaInfo[MAXCPUS].KernelTime.QuadPart/(double)TotalCPUTime[MAXCPUS].QuadPart); //L… in ReportPerfCntrs()
388 100.0*(double)DeltaInfo[MAXCPUS].UserTime.QuadPart/(double)TotalCPUTime[MAXCPUS].QuadPart); in ReportPerfCntrs()
401 … 100.0*(double)DeltaInfo[MAXCPUS].DpcTime.QuadPart/(double)TotalCPUTime[MAXCPUS].QuadPart); //Lint in ReportPerfCntrs()
414 …100.0*(double)DeltaInfo[MAXCPUS].InterruptTime.QuadPart/(double)TotalCPUTime[MAXCPUS].QuadPart); … in ReportPerfCntrs()
427 (double)DeltaInfo[MAXCPUS].InterruptCount*10000.0/(double)duration); in ReportPerfCntrs()