mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 12:50:44 +02:00
Improve statistics a bit
This commit is contained in:
@@ -86,8 +86,8 @@ int main (int argc, char *argv[]) {
|
||||
n_stat_out++;
|
||||
|
||||
if (data.first->n_recv_packets < JUNGFRAU_N_PACKETS_PER_FRAME) {
|
||||
// TODO: Why not print the actual number of lost packets?!
|
||||
n_frames_with_missing_packets++;
|
||||
n_frames_with_missing_packets +=
|
||||
JUNGFRAU_N_PACKETS_PER_FRAME - data.first->n_recv_packets;
|
||||
}
|
||||
|
||||
if (last_pulse_id>0) {
|
||||
|
||||
Reference in New Issue
Block a user