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

Function tui_run_clock_tick

ds4_eval.c:1278–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1276 if (delta > 0.0) ui->run_elapsed_sec += delta;
1277 ui->run_last_sec = now;
1278}
1279
1280static void tui_run_clock_start(eval_ui *ui) {
1281 if (!ui || ui->run_clock_active) return;
1282 ui->run_last_sec = run_clock_sec();
1283 ui->run_clock_active = true;
1284}
1285
1286static void tui_run_clock_stop(eval_ui *ui) {
1287 if (!ui || !ui->run_clock_active) return;

Callers 3

tui_run_clock_stopFunction · 0.85
eval_prefill_progressFunction · 0.85
run_one_caseFunction · 0.85

Calls 1

run_clock_secFunction · 0.85

Tested by

no test coverage detected