Adjust assembler statistics expected type

This commit is contained in:
2021-07-02 13:01:16 +02:00
parent 76fd1e923b
commit 7030de8483
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ public:
AssemblerStats(const std::string &detector_name,
const size_t stats_modulo);
void record_stats(const ImageMetadata &meta, const uint32_t n_lost_pulses);
void record_stats(const ImageMetadata *meta, const uint32_t n_lost_pulses);
};
+2 -2
View File
@@ -23,12 +23,12 @@ void AssemblerStats::reset_counters()
}
void AssemblerStats::record_stats(
const ImageMetadata &meta, const uint32_t n_lost_pulses)
const ImageMetadata *meta, const uint32_t n_lost_pulses)
{
image_counter_++;
n_sync_lost_images_ += n_lost_pulses;
if (!meta.is_good_image) {
if (!meta->is_good_image) {
n_corrupted_images_++;
}