/vbox/src/VBox/Main/src-server/os2/ |
H A D | PerformanceOs2.cpp | 27 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle); 30 virtual int getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel); 40 int CollectorOS2::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) argument 55 int CollectorOS2::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) argument
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTThreadExecutionTime.cpp | 49 uint64_t kernel, kernelStart, user, userStart; local 53 RTThreadGetExecutionTimeMilli(&kernel, &user); 54 RTPrintf("kernel = %4lldms, user = %4lldms\n", kernel - kernelStart, user - userStart); 55 ASMAtomicAddU64(&g_kernel, kernel); 78 RTPrintf("sum kernel = %lldms, sum user = %lldms\n", g_kernel, g_user);
|
/vbox/src/VBox/Main/src-server/freebsd/ |
H A D | PerformanceFreeBSD.cpp | 27 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle); 30 virtual int getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel); 40 int CollectorFreeBSD::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) argument 102 int CollectorFreeBSD::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) argument
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/syslinux/ |
H A D | comboot_call.c | 166 * Fetch kernel and optional initrd 169 struct image *kernel; local 200 DBG ( "COMBOOT: fetching kernel '%s'\n", kernel_file ); 202 /* Fetch kernel */ 203 if ( ( rc = imgdownload_string ( kernel_file, &kernel ) ) != 0 ) { 204 DBG ( "COMBOOT: could not fetch kernel: %s\n", 209 /* Replace comboot image with kernel */ 210 if ( ( rc = image_replace ( kernel ) ) != 0 ) { 211 DBG ( "COMBOOT: could not replace with kernel: %s\n", 543 case 0x0016: /* Run kernel imag [all...] |
/vbox/src/VBox/Main/src-server/darwin/ |
H A D | PerformanceDarwin.cpp | 63 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle); 65 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 94 int CollectorDarwin::getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle) argument 111 *kernel = (uint64_t)info.cpu_ticks[CPU_STATE_SYSTEM]; 148 int CollectorDarwin::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument 156 * Adjust user and kernel values so 100% is when ALL cores are fully 160 *kernel = tinfo.pti_total_system / nCpus;
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | PerformanceWin.cpp | 58 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle); 61 virtual int getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel); 64 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle); 65 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 130 uint64_t user, kernel, idle, total; local 131 int rc = getRawHostCpuLoad(&user, &kernel, &idle); 134 total = user + kernel + idle; 194 int CollectorWin::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) argument 208 int CollectorWin::getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle) argument 225 *kernel 312 getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) argument 317 getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument [all...] |
/vbox/src/VBox/Main/src-server/linux/ |
H A D | PerformanceLinux.cpp | 56 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle); 59 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 99 LogRel(("CollectorLinux failed to obtain HZ from kernel, assuming 100.\n")); 189 int CollectorLinux::getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle) argument 192 *kernel = mKernel; 197 int CollectorLinux::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument 207 *kernel = it->second.cpuKernel;
|
/vbox/src/VBox/Main/src-server/ |
H A D | Performance.cpp | 50 int CollectorHAL::getHostCpuLoad(ULONG * /* user */, ULONG * /* kernel */, ULONG * /* idle */) 55 int CollectorHAL::getProcessCpuLoad(RTPROCESS /* process */, ULONG * /* user */, ULONG * /* kernel */) 60 int CollectorHAL::getRawHostCpuLoad(uint64_t * /* user */, uint64_t * /* kernel */, uint64_t * /* idle */) 76 uint64_t * /* kernel */, uint64_t * /* total */) 634 ULONG user, kernel, idle; local 635 int rc = mHAL->getHostCpuLoad(&user, &kernel, &idle); 639 mKernel->put(kernel); 657 uint64_t user, kernel, idle; local 660 int rc = mHAL->getRawHostCpuLoad(&user, &kernel, &idle); 664 kernelDiff = kernel 1017 ULONG user, kernel; local [all...] |
/vbox/src/VBox/Main/src-server/solaris/ |
H A D | PerformanceSolaris.cpp | 74 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle); 77 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 192 int CollectorSolaris::getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle) argument 227 if (kernel) *kernel = tmpKernel; 233 int CollectorSolaris::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument 249 //Log(("user=%u kernel=%u total=%u\n", prusage.pr_utime.tv_sec, prusage.pr_stime.tv_sec, prusage.pr_tstamp.tv_sec)); 258 *kernel = ((uint64_t)prusage.pr_stime.tv_sec * 1000000000 + prusage.pr_stime.tv_nsec) / mCpus; 261 *user = *kernel = 0; 263 //Log(("user=%llu kernel [all...] |
/vbox/src/VBox/Main/include/ |
H A D | Performance.h | 368 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle); 378 virtual int getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel); 383 virtual int getRawHostCpuLoad(uint64_t *user, uint64_t *kernel, uint64_t *idle); 389 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 451 HostCpuLoad(CollectorHAL *hal, ComPtr<IUnknown> object, SubMetric *user, SubMetric *kernel, SubMetric *idle) argument 452 : BaseMetric(hal, "CPU/Load", object), mUser(user), mKernel(kernel), mIdle(idle) {}; 472 HostCpuLoadRaw(CollectorHAL *hal, ComPtr<IUnknown> object, SubMetric *user, SubMetric *kernel, SubMetric *idle) argument 473 : HostCpuLoad(hal, object, user, kernel, idle), mUserPrev(0), mKernelPrev(0), mIdlePrev(0) {}; 670 MachineCpuLoad(CollectorHAL *hal, ComPtr<IUnknown> object, RTPROCESS process, SubMetric *user, SubMetric *kernel) argument 671 : BaseMetric(hal, "CPU/Load", object), mProcess(process), mUser(user), mKernel(kernel) {}; 689 MachineCpuLoadRaw(CollectorHAL *hal, ComPtr<IUnknown> object, RTPROCESS process, SubMetric *user, SubMetric *kernel) argument 770 GuestCpuLoad(CollectorGuest *cguest, ComPtr<IUnknown> object, SubMetric *user, SubMetric *kernel, SubMetric *idle) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/build/ |
H A D | malloc.c | 308 static int cpuinfo (int whole, unsigned long *kernel, unsigned long *user); 596 of kernel resources. 608 kernel versions newer than 1.3.77. 4447 unsigned long kernel, user; 4448 if (cpuinfo (TRUE, &kernel, &user)) { 4449 fprintf(stderr, "kernel ms = %10lu\n", 4450 kernel); 4979 static int cpuinfo (int whole, unsigned long *kernel, unsigned long *user) { 4988 *kernel = 0; 4992 *kernel 4430 unsigned long kernel, user; local 4960 cpuinfo(int whole, unsigned long *kernel, unsigned long *user) argument [all...] |