20 #include <sys/types.h> 44 unsigned int m_num_cpus;
46 unsigned long m_user_cpu_time_process_start;
47 unsigned long m_kernel_cpu_time_process_start;
48 unsigned long m_user_cpu_time_process_stop;
49 unsigned long m_kernel_cpu_time_process_stop;
51 unsigned long long m_user_cpu_time_system_start;
52 unsigned long long m_kernel_cpu_time_system_start;
53 unsigned long long m_user_cpu_time_system_stop;
54 unsigned long long m_kernel_cpu_time_system_stop;
56 unsigned long long m_nice_cpu_time_system_start;
57 unsigned long long m_idle_cpu_time_system_start;
58 unsigned long long m_nice_cpu_time_system_stop;
59 unsigned long long m_idle_cpu_time_system_stop;
61 unsigned long long m_system_wide_user_start;
62 unsigned long long m_system_wide_user_stop;
float GetUserTime()
Definition: cpu_measure.cpp:110
float GetCPUTime()
Definition: cpu_measure.cpp:97
Definition: cpu_measure.h:24
float GetKernelTime()
Definition: cpu_measure.cpp:120
float GetGlobalUserTime()
Definition: cpu_measure.cpp:130
bool Start()
Definition: cpu_measure.cpp:35
bool Stop()
Definition: cpu_measure.cpp:66
float GetGlobalKernelTime()
Definition: cpu_measure.cpp:138
CpuMeasure()
Definition: cpu_measure.cpp:21
~CpuMeasure()
Definition: cpu_measure.cpp:30