mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-07 11:08:42 +02:00
Use stats time instead of modulo
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user