// A sequence error with a seqnum of zero usually indicates a METIS restart
// and is no error condition
if (sequence != 0 && sequence != last_seq_num+1) {
- g_print("SEQ ERROR: last %ld, recvd %ld\n", (long) last_seq_num, (long) sequence);
+ struct timespec ts;
+ double now;
+ clock_gettime(CLOCK_MONOTONIC, &ts);
+ now=ts.tv_sec + 1E-9*ts.tv_nsec;
+ g_print("SEQ ERROR: T=%0.3f last %ld, recvd %ld\n", now, (long) last_seq_num, (long) sequence);
sequence_errors++;
}
last_seq_num=sequence;