Commit 7b509e64 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Add feedback packet. Proper header.

parent b6d6bdb5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
#define XLAP
#include "xlap.h"

#include <stdatomic.h>

void XlapTimestampTableDumpHeader(FILE *out)
{
+8 −0
Original line number Diff line number Diff line
@@ -5,6 +5,13 @@
#include <stdint.h>
#include <time.h>

#ifndef __cplusplus
# include <stdatomic.h>
#else
# include <atomic>
# define _Atomic(X) std::atomic< X >
#endif

/*
 * Each timestamp contains both a cycle value and a time value, but some values
 * might remain zero
@@ -64,6 +71,7 @@ typedef enum XlapTimestampPacketKind {
    ts_data_packet = 0,
    ts_any_packet = 0,
    ts_redundancy_packet = 1,
    ts_feedback_packet = 2
} XlapTimestampPacketKind;

/*