mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-08 04:42:02 +02:00
Adjust assembler statistics expected type
This commit is contained in:
@@ -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_++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user