Files
frigate/frigate
markfrancisonlyandGitHub 397f5253a5 Rate events over at least one second (#24455)
* Rate events over at least one second

EventsPerSecond.eps() divided the event count by the time since start(),
which can be a few milliseconds right after a restart. Frames buffered
during an ffmpeg restart then report as 100+ fps, and the same happens to
the detector fps. Use a window of at least one second.

* Keep sub-second windows consistent

Floor the divisor at the window length when the window is shorter than a
second, so a caller with a sub-second window still gets its true rate.
2026-09-24 06:28:00 -06:00
..
2026-09-18 07:33:23 -06:00
2026-09-20 12:45:24 -06:00
2026-09-18 07:33:23 -06:00
2026-09-20 12:45:24 -06:00
2026-09-15 07:48:30 -05:00
2026-09-18 07:33:23 -06:00
2026-09-15 07:48:30 -05:00
2026-09-20 12:45:24 -06:00
2026-09-20 12:45:24 -06:00
2021-01-26 21:40:33 -06:00
2026-09-20 12:45:24 -06:00
2026-09-20 12:45:24 -06:00
2026-03-26 12:54:12 -06:00