Use the per-fd stoppage time rather than the global one (#169).

This commit is contained in:
Andrew Wood
2025-10-29 21:31:23 +00:00
parent 5d538da63a
commit 2904eacefe
+1 -5
View File
@@ -1061,13 +1061,9 @@ int pv_watchfd_loop(pvstate_t state)
* its position and timers.
*/
info_item->position = position_now;
/*
* TODO: per-fd total_stoppage_time
* counters (#169).
*/
info_item->transfer.elapsed_seconds =
pv__elapsed_transfer_time(&(info_item->start_time), &cur_time,
&(state->signal.total_stoppage_time));
&(info_item->total_stoppage_time));
}
/*