mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-29 17:40:01 +02:00
adding statistics
This commit is contained in:
parent
2b5470ef59
commit
59eea1a1fd
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user