MCPcopy Create free account
hub / github.com/git/git / trace2_timer_stop

Function trace2_timer_stop

trace2.c:1019–1028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019void trace2_timer_stop(enum trace2_timer_id tid)
1020{
1021 if (!trace2_enabled)
1022 return;
1023
1024 if (tid < 0 || tid >= TRACE2_NUMBER_OF_TIMERS)
1025 BUG("trace2_timer_stop: invalid timer id: %d", tid);
1026
1027 tr2_stop_timer(tid);
1028}
1029
1030void trace2_counter_add(enum trace2_counter_id cid, uint64_t value)
1031{

Callers 2

ut_100timerFunction · 0.85
ut_101timer_thread_procFunction · 0.85

Calls 1

tr2_stop_timerFunction · 0.85

Tested by 2

ut_100timerFunction · 0.68
ut_101timer_thread_procFunction · 0.68