We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034febf commit 076b37aCopy full SHA for 076b37a
1 file changed
QuanuX-Common/cpp/include/quanux/MarketTick.hpp
@@ -18,10 +18,14 @@ struct alignas(64) MarketTick {
18
uint32_t flags; // 4 bytes: Trade flags
19
uint32_t instrument_id; // 4 bytes: Internal instrument mapping
20
21
+ // Internal Latency Tracking
22
+ uint64_t internal_arrival_ts; // 8 bytes: Time tick entered process
23
+ uint64_t processing_start_ts; // 8 bytes: Time stats engine picked it up
24
+
25
// Padding to reach 64 bytes
- // Used: 8+8+8+4+4+4 = 36 bytes
- // Remaining: 28 bytes
- uint8_t _pad[28];
26
+ // Offset is 56 bytes (including 4 bytes implicit padding after instrument_id)
27
+ // Remaining: 8 bytes
28
+ uint8_t _pad[8];
29
};
30
31
static_assert(sizeof(MarketTick) == 64, "MarketTick must be exactly 64 bytes");
0 commit comments