EPAM B2BITS CME MDP Handler C++  5.4.2
Public Attributes | List of all members
Cme::Mdp::Timestamps Struct Reference

Timestamps. More...

#include <B2BITS_CmeMdpTypes.h>

Collaboration diagram for Cme::Mdp::Timestamps:
Collaboration graph
[legend]

Public Attributes

u64 timestampIn_
 
u64 timestampOut_
 
u32 packetSequenceNumber_
 UDP packet sequence number. More...
 

Detailed Description

Timestamps.

Member Data Documentation

u32 Cme::Mdp::Timestamps::packetSequenceNumber_

UDP packet sequence number.

u64 Cme::Mdp::Timestamps::timestampIn_

Timestamp (ns) when a UDP packet is received from the socket.

  • On Windows timestamp is obtained using QueryPerformanceCounter function.
  • On Linux timestamp is obtained using clock_gettime( CLOCK_MONOTONIC ) function.
u64 Cme::Mdp::Timestamps::timestampOut_

Timestamp (ns) when a message or event is passed to the client callback.

  • On Windows timestamp is obtained using QueryPerformanceCounter function.
  • On Linux timestamp is obtained using clock_gettime( CLOCK_MONOTONIC ) function.