Use stats time instead of modulo

This commit is contained in:
2021-07-19 14:07:53 +02:00
parent 8a88a1b1da
commit 0d0e23b507
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
class SyncStats {
const std::string detector_name_;
const size_t stats_modulo_;
const size_t stats_time_;
int image_counter_;
int n_sync_lost_images_;
@@ -18,7 +18,7 @@ class SyncStats {
public:
SyncStats(const std::string &detector_name,
const size_t stats_modulo);
const size_t stats_time);
void record_stats(const uint32_t n_lost_pulses);
};