B2BITS FIX Antenna C++  2.27.1
Public Attributes | List of all members
Bats::Timestamp Struct Reference

Handler' auxiliary structure for measuring processing latency. More...

#include <B2BITS_BatsUnitService.h>

Public Attributes

System::u64 time0
 
System::u64 time1
 

Detailed Description

Handler' auxiliary structure for measuring processing latency.

Right after UDP package is received Timestamp::time0 is set to current time. On Windows platform this is value returned by QueryPerformanceCounter function, on Linux platform this is value in nanoseconds returned by clock_gettime(CLOCK_MONOTONIC). Reference to Timestamp is passed along to each method in processing pipeline.

Member Data Documentation

◆ time0

System::u64 Bats::Timestamp::time0

◆ time1

System::u64 Bats::Timestamp::time1