Fixed InfluxDB statistics on jf-buffer-writer

This commit is contained in:
2020-10-01 10:03:41 +02:00
parent d776e78ab0
commit 2399b8d59e
3 changed files with 26 additions and 9 deletions
+6 -2
View File
@@ -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();
};