GF_SystemRTInfo Struct Reference
[Time tools]

run-time system info object More...

#include <gpac/tools.h>

List of all members.

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

Detailed Description

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).


Member Data Documentation

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


The documentation for this struct was generated from the following file:

Generated on 25 Jul 2012 for libgpac by  doxygen 1.6.1