libgpac  0.5.0
Public Attributes | List of all members
GF_SystemRTInfo Struct Reference

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

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

u32 GF_SystemRTInfo::sampling_instant

start of the sampling period

u32 GF_SystemRTInfo::sampling_period_duration

duration of the sampling period

u32 GF_SystemRTInfo::total_cpu_time

total amount of time (User+kernel) spent in CPU for all processes as evaluated at the end of the sampling period

u32 GF_SystemRTInfo::process_cpu_time

total amount of time (User+kernel) spent in CPU for the calling process as evaluated at the end of the sampling period

u32 GF_SystemRTInfo::total_cpu_time_diff

amount of time (User+kernel) spent in CPU for all processes during the sampling period

u32 GF_SystemRTInfo::process_cpu_time_diff

total amount of time (User+kernel) spent in CPU for the calling process during the sampling period

u32 GF_SystemRTInfo::cpu_idle_time

total amount of idle time during the sampling period.

u32 GF_SystemRTInfo::total_cpu_usage

percentage (from 0 to 100) of CPU usage during the sampling period.

u32 GF_SystemRTInfo::process_cpu_usage

percentage (from 0 to 100) of the CPU usage by the calling process during the sampling period.

u32 GF_SystemRTInfo::pid

calling process ID

u32 GF_SystemRTInfo::thread_count

calling process thread count if known

u64 GF_SystemRTInfo::process_memory

size of calling process allocated heaps

u64 GF_SystemRTInfo::physical_memory

total physical memory in system

u64 GF_SystemRTInfo::physical_memory_avail

available physical memory in system

u64 GF_SystemRTInfo::gpac_memory

total memory currently allocated by gpac


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