mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-10 00:14:03 +01:00
Use stats time instead of n_images for statistics
This commit is contained in:
1 parent
bebb8891b0
commit
1e461d6647
3 files changed
+9
-6
No files matched your search
@@ -7,7 +7,7 @@
|
||||
|
||||
class AssemblerStats {
|
||||
const std::string detector_name_;
|
||||
const size_t stats_modulo_;
|
||||
const size_t stats_time_;
|
||||
|
||||
int image_counter_;
|
||||
int n_corrupted_images_;
|
||||
@@ -19,7 +19,7 @@ class AssemblerStats {
|
||||
|
||||
public:
|
||||
AssemblerStats(const std::string &detector_name,
|
||||
const size_t stats_modulo);
|
||||
const size_t stats_time);
|
||||
|
||||
void record_stats(const ImageMetadata *meta, const uint32_t n_lost_pulses);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user