| 1276 | if (delta > 0.0) ui->run_elapsed_sec += delta; |
| 1277 | ui->run_last_sec = now; |
| 1278 | } |
| 1279 | |
| 1280 | static 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 | |
| 1286 | static void tui_run_clock_stop(eval_ui *ui) { |
| 1287 | if (!ui || !ui->run_clock_active) return; |
no test coverage detected