MCPcopy Create free account
hub / github.com/antirez/ds4 / tui_run_clock_stop

Function tui_run_clock_stop

ds4_eval.c:1292–1296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290}
1291
1292static double tui_run_clock_visible_sec(const eval_ui *ui) {
1293 if (!ui) return 0.0;
1294 double elapsed = ui->run_elapsed_sec;
1295 if (ui->run_clock_active) {
1296 double delta = run_clock_sec() - ui->run_last_sec;
1297 if (delta > 0.0) elapsed += delta;
1298 }
1299 return elapsed;

Callers 2

tui_wait_if_pausedFunction · 0.85
run_one_caseFunction · 0.85

Calls 1

tui_run_clock_tickFunction · 0.85

Tested by

no test coverage detected