Searched defs:hostTotal (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Main/testcase/
H A DtstCollector.cpp401 uint64_t hostUserStop, hostKernelStop, hostIdleStop, hostTotal; local
449 hostTotal = hostUserStop - hostUserStart
453 (unsigned)((hostUserStop - hostUserStart) * 100 / hostTotal),
454 (unsigned)((hostUserStop - hostUserStart) * 10000 / hostTotal % 100));
456 (unsigned)((hostKernelStop - hostKernelStart) * 100 / hostTotal),
457 (unsigned)((hostKernelStop - hostKernelStart) * 10000 / hostTotal % 100));
459 (unsigned)((hostIdleStop - hostIdleStart) * 100 / hostTotal),
460 (unsigned)((hostIdleStop - hostIdleStart) * 10000 / hostTotal % 100));
508 hostTotal = hostUserStop - hostUserStart
512 (unsigned)((hostUserStop - hostUserStart) * 100 / hostTotal),
[all...]
/vbox/src/VBox/Main/src-server/
H A DPerformance.cpp1033 uint64_t processUser, processKernel, hostTotal; local
1035 int rc = mHAL->getRawProcessCpuLoad(mProcess, &processUser, &processKernel, &hostTotal);
1038 if (hostTotal == mHostTotalPrev)
1046 mUser->put((ULONG)(PM_CPU_LOAD_MULTIPLIER * (processUser - mProcessUserPrev) / (hostTotal - mHostTotalPrev)));
1047 mKernel->put((ULONG)(PM_CPU_LOAD_MULTIPLIER * (processKernel - mProcessKernelPrev ) / (hostTotal - mHostTotalPrev)));
1050 mHostTotalPrev = hostTotal;

Completed in 42 milliseconds