libgpac 0.4.5
|
run-time system info object More...
#include <gpac/tools.h>
Public Attributes | |
u32 | sampling_instant |
u32 | sampling_period_duration |
u32 | total_cpu_time |
u32 | process_cpu_time |
u32 | total_cpu_time_diff |
u32 | process_cpu_time_diff |
u32 | cpu_idle_time |
u32 | total_cpu_usage |
u32 | process_cpu_usage |
u32 | pid |
u32 | thread_count |
u64 | process_memory |
u64 | physical_memory |
u64 | physical_memory_avail |
u64 | gpac_memory |
The Run-Time Info object is used to get CPU and memory occupation of the calling process. All time values are expressed in milliseconds (accuracy is not guaranteed).
start of the sampling period
duration of the sampling period
total amount of time (User+kernel) spent in CPU for all processes as evaluated at the end of the sampling period
total amount of time (User+kernel) spent in CPU for the calling process as evaluated at the end of the sampling period
amount of time (User+kernel) spent in CPU for all processes during the sampling period
total amount of time (User+kernel) spent in CPU for the calling process during the sampling period
total amount of idle time during the sampling period.
percentage (from 0 to 100) of CPU usage during the sampling period.
percentage (from 0 to 100) of the CPU usage by the calling process during the sampling period.
calling process ID
calling process thread count if known
size of calling process allocated heaps
total physical memory in system
available physical memory in system
total memory currently allocated by gpac