Skip to content

Struct SYN_HPTimestamp

ClassList > SYN_HPTimestamp

Raw high-precision timestamp — three-word snapshot. More...

  • #include <syn_hpclock.h>

Public Attributes

Type Name
uint32_t lsb
uint32_t msb_1
uint32_t msb_2

Detailed Description

The overflow counter is read before and after the hardware counter register. Resolution compares the two MSB reads to detect whether an overflow occurred during the capture, and uses the LSB value to determine which MSB is correct for the captured instant.

12 bytes, naturally aligned.

Public Attributes Documentation

variable lsb

uint32_t SYN_HPTimestamp::lsb;

Read of hardware counter register


variable msb_1

uint32_t SYN_HPTimestamp::msb_1;

First read of overflow counter


variable msb_2

uint32_t SYN_HPTimestamp::msb_2;

Second read of overflow counter



The documentation for this class was generated from the following file src/syntropic/drivers/syn_hpclock.h