summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli.c b/cli.c
index 07d6cc2..b36f5be 100644
--- a/cli.c
+++ b/cli.c
@@ -1292,8 +1292,8 @@ void GrabStats(GRABContext *ctx, struct timeval *end_time) {
end_time = &cur;
}
- if ((ctx->event_count + ctx->missing_count) == 0)
- return;
+// if ((ctx->event_count + ctx->missing_count) == 0)
+// return;
duration = pcilib_timediff(&ctx->start_time, end_time);
fps_duration = pcilib_timediff(&ctx->first_frame, &ctx->last_frame);
@@ -1315,7 +1315,6 @@ void GrabStats(GRABContext *ctx, struct timeval *end_time) {
good_fps = (good - 1) / (1.*fps_duration/1000000);
}
-
printf("Run: ");
PrintTime(duration);