FreeSWITCH API Documentation
1.7.0
|
Go to the source code of this file.
Data Structures | |
struct | profile_timer |
Functions | |
switch_bool_t | switch_get_system_idle_time (switch_profile_timer_t *p, double *idle_percentage) |
provides the percentage of idle system time More... | |
switch_profile_timer_t * | switch_new_profile_timer (void) |
create a new profile timer More... | |
void | switch_delete_profile_timer (switch_profile_timer_t **p) |
Deletes profile timer. More... | |
void switch_delete_profile_timer | ( | switch_profile_timer_t ** | p | ) |
Deletes profile timer.
Definition at line 324 of file switch_profile.c.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().
switch_bool_t switch_get_system_idle_time | ( | switch_profile_timer_t * | p, |
double * | idle_percentage | ||
) |
provides the percentage of idle system time
p | profile timer structure previously created with new_profile_timer |
pointer | to store the percentage of idle time |
Definition at line 296 of file switch_profile.c.
References SWITCH_FALSE.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().
switch_profile_timer_t* switch_new_profile_timer | ( | void | ) |
create a new profile timer
Definition at line 304 of file switch_profile.c.
References profile_timer::cpu_idle_smoothing_depth, switch_runtime::cpu_idle_smoothing_depth, profile_timer::percentage_of_idle_time_ring, and runtime.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().