libptpmgmt  1.3
libptpmgmt library that provides the functionality of linuxptp pmc
Variables
timeCvrt.h File Reference

Convert time constant. More...

#include "name.h"
Include dependency graph for timeCvrt.h:

Go to the source code of this file.

Variables

__PTPMGMT_NAMESPACE_BEGIN const int32_t NSEC_PER_USEC = 1000
 
const int32_t NSEC_PER_MSEC = 1000000
 
const int32_t NSEC_PER_SEC = 1000000000
 
const int32_t USEC_PER_MSEC = 1000
 
const int32_t USEC_PER_SEC = 1000000
 
const int32_t MSEC_PER_SEC = 1000
 

Detailed Description

Convert time constant.

Author
Erez Geva <ErezGeva2@gmail.com>

Variable Documentation

◆ MSEC_PER_SEC

const int32_t MSEC_PER_SEC = 1000

Number of millisecond in a second

◆ NSEC_PER_MSEC

const int32_t NSEC_PER_MSEC = 1000000

Number of nanoseconds in a millisecond

◆ NSEC_PER_SEC

const int32_t NSEC_PER_SEC = 1000000000

Number of nanoseconds in a second

◆ NSEC_PER_USEC

__PTPMGMT_NAMESPACE_BEGIN const int32_t NSEC_PER_USEC = 1000

Number of nanoseconds in a microsecond

◆ USEC_PER_MSEC

const int32_t USEC_PER_MSEC = 1000

Number of microsecond in a millisecond

◆ USEC_PER_SEC

const int32_t USEC_PER_SEC = 1000000

Number of microsecond in a second