adding statistics

This commit is contained in:
maliakal_d 2022-06-08 16:55:49 +02:00
parent 2b5470ef59
commit 59eea1a1fd

View File

@ -258,6 +258,7 @@ void Listener::ThreadExecution() {
} else { } else {
(*((uint32_t *)tempBuffer)) = rc; (*((uint32_t *)tempBuffer)) = rc;
tempBuffer += fifoBunchSizeBytes; tempBuffer += fifoBunchSizeBytes;
numFramesStatistic++;
} }
} }
@ -266,7 +267,6 @@ void Listener::ThreadExecution() {
// Statistics // Statistics
if (!(*silentMode)) { if (!(*silentMode)) {
numFramesStatistic++;
if (numFramesStatistic >= if (numFramesStatistic >=
// second condition also for infinite #number of frames // second condition also for infinite #number of frames
(((*framesPerFile) == 0) ? STATISTIC_FRAMENUMBER_INFINITE (((*framesPerFile) == 0) ? STATISTIC_FRAMENUMBER_INFINITE