|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_TIMER_STATS_H__
2 #define __CS_TIMER_STATS_H__
void const cs_real_t const cs_real_t const cs_real_t * t0
Definition: cs_ctwr_air_props.h:128
void cs_timer_stats_add_diff(int id, const cs_timer_t *t0, const cs_timer_t *t1)
Add a timing range to an inactive timer.
Definition: cs_timer_stats.c:774
int cs_timer_stats_is_active(int id)
indicate if a timer for a given statistic is currently active.
Definition: cs_timer_stats.c:598
#define END_C_DECLS
Definition: cs_defs.h:468
void cs_timer_stats_stop(int id)
Stop a timer for a given statistic.
Definition: cs_timer_stats.c:669
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void cs_timer_stats_increment_time_step(void)
Increment time step for timer statistics.
Definition: cs_timer_stats.c:406
int cs_timer_stats_id_by_name(const char *name)
Return the id of a defined statistic based on its name.
Definition: cs_timer_stats.c:557
int cs_timer_stats_switch(int id)
Start a timer for a given statistic, stopping previous timers of the same type which are not a parent...
Definition: cs_timer_stats.c:707
void cs_timer_stats_finalize(void)
Finalize timer statistics handling.
Definition: cs_timer_stats.c:325
Definition: cs_timer.h:46
void cs_timer_stats_set_start_time(int time_id)
Set a start time for time stats.
Definition: cs_timer_stats.c:362
int cs_timer_stats_create(const char *parent_name, const char *name, const char *label)
Create a timer statistics structure.
Definition: cs_timer_stats.c:456
void cs_timer_stats_define_defaults(void)
Define default timer statistics.
Definition: cs_timer_stats.c:797
void cs_timer_stats_set_plot_options(cs_time_plot_format_t format, int frequency, int n_buffer_steps, double flush_wtime)
Set global timer statistics plot options.
Definition: cs_timer_stats.c:387
void cs_timer_stats_initialize(void)
Initialize timer statistics handling.
Definition: cs_timer_stats.c:297
void cs_timer_stats_start(int id)
Start a timer for a given statistic.
Definition: cs_timer_stats.c:624
void cs_timer_stats_set_plot(int id, int plot)
Enable or disable plotting for a timer statistic.
Definition: cs_timer_stats.c:578
cs_time_plot_format_t
Definition: cs_time_plot.h:56