#include "git-compat-util.h"
#include "trace2/tr2_tgt.h"
#include "trace2/tr2_tls.h"
#include "trace2/tr2_tmr.h"
#include "trace.h"
#define MY_MAX(a, b) …
#define MY_MIN(a, b) …
static struct tr2_timer_block final_timer_block;
static struct tr2_timer_metadata tr2_timer_metadata[TRACE2_NUMBER_OF_TIMERS] = …;
void tr2_start_timer(enum trace2_timer_id tid)
{ … }
void tr2_stop_timer(enum trace2_timer_id tid)
{ … }
void tr2_update_final_timers(void)
{ … }
void tr2_emit_per_thread_timers(tr2_tgt_evt_timer_t *fn_apply)
{ … }
void tr2_emit_final_timers(tr2_tgt_evt_timer_t *fn_apply)
{ … }