mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-08-07 13:12:26 +02:00
Fixed InfluxDB statistics on jf-buffer-writer
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
|
||||
class BufferStats {
|
||||
const std::string source_name_;
|
||||
const std::string detector_name_;
|
||||
const int module_id_;
|
||||
size_t stats_modulo_;
|
||||
|
||||
int frames_counter_;
|
||||
@@ -19,7 +20,10 @@ class BufferStats {
|
||||
void print_stats();
|
||||
|
||||
public:
|
||||
BufferStats(const std::string &source_name, const size_t stats_modulo);
|
||||
BufferStats(
|
||||
const std::string &detector_name,
|
||||
const int module_id,
|
||||
const size_t stats_modulo);
|
||||
void start_frame_write();
|
||||
void end_frame_write();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user