mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-05 12:04:54 +00:00
DVS: missing FPS incrementation
This commit is contained in:
@@ -430,6 +430,8 @@ void display_dvs_run(void *arg)
|
||||
gettimeofday(&s->t, NULL);
|
||||
double seconds = tv_diff(s->t, s->t0);
|
||||
|
||||
s->frames++;
|
||||
|
||||
if (seconds >= 5) {
|
||||
float fps = s->frames / seconds;
|
||||
fprintf(stderr, "[DVS disp.] %d frames in %g seconds = %g FPS\n", s->frames, seconds, fps);
|
||||
|
||||
Reference in New Issue
Block a user