1#ifndef CS_TIMER_STATS_H
2#define CS_TIMER_STATS_H
cs_time_plot_format_t
Definition: cs_time_plot.h:52
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.cpp:650
void cs_timer_stats_initialize(void)
Initialize timer statistics handling.
Definition: cs_timer_stats.cpp:380
int cs_timer_stats_is_active(int id)
indicate if a timer for a given statistic is currently active.
Definition: cs_timer_stats.cpp:691
void cs_timer_stats_stop(int id)
Stop a timer for a given statistic.
Definition: cs_timer_stats.cpp:762
void cs_timer_stats_increment_stage(void)
Switch stage for time statistics.
Definition: cs_timer_stats.cpp:925
void cs_timer_stats_increment_time_step(void)
Increment time step for timer statistics.
Definition: cs_timer_stats.cpp:497
void cs_timer_stats_define_defaults(void)
Define default timer statistics.
Definition: cs_timer_stats.cpp:890
void cs_timer_stats_start(int id)
Start a timer for a given statistic.
Definition: cs_timer_stats.cpp:717
void cs_timer_stats_set_plot(int id, int plot)
Enable or disable plotting for a timer statistic.
Definition: cs_timer_stats.cpp:671
int cs_timer_stats_create(const char *parent_name, const char *name, const char *label)
Create a timer statistics structure.
Definition: cs_timer_stats.cpp:548
void cs_timer_stats_set_start_time(int time_id)
Set a start time for time stats.
Definition: cs_timer_stats.cpp:453
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.cpp:478
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.cpp:867
void cs_timer_stats_finalize(void)
Finalize timer statistics handling.
Definition: cs_timer_stats.cpp:408
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.cpp:800
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:68
char * label
Definition: keywords.h:58
Definition: cs_timer.h:42