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

Add feedback packet. Proper header.

parent b6d6bdb5
#define XLAP #define XLAP
#include "xlap.h" #include "xlap.h"
#include <stdatomic.h>
void XlapTimestampTableDumpHeader(FILE *out) void XlapTimestampTableDumpHeader(FILE *out)
{ {
......
...@@ -5,6 +5,13 @@ ...@@ -5,6 +5,13 @@
#include <stdint.h> #include <stdint.h>
#include <time.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 * Each timestamp contains both a cycle value and a time value, but some values
* might remain zero * might remain zero
...@@ -64,6 +71,7 @@ typedef enum XlapTimestampPacketKind { ...@@ -64,6 +71,7 @@ typedef enum XlapTimestampPacketKind {
ts_data_packet = 0, ts_data_packet = 0,
ts_any_packet = 0, ts_any_packet = 0,
ts_redundancy_packet = 1, ts_redundancy_packet = 1,
ts_feedback_packet = 2
} XlapTimestampPacketKind; } XlapTimestampPacketKind;
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment