libptpmgmt  1.3
libptpmgmt library that provides the functionality of linuxptp pmc
timeCvrt.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-3.0-or-later
2  SPDX-FileCopyrightText: Copyright © 2021 Erez Geva <ErezGeva2@gmail.com> */
3 
12 #ifndef __PTPMGMT_TIME_COMVERT_H
13 #define __PTPMGMT_TIME_COMVERT_H
14 
15 #include "name.h"
16 
17 __PTPMGMT_NAMESPACE_BEGIN
18 
20 const int32_t NSEC_PER_USEC = 1000;
22 const int32_t NSEC_PER_MSEC = 1000000;
24 const int32_t NSEC_PER_SEC = 1000000000;
26 const int32_t USEC_PER_MSEC = 1000;
28 const int32_t USEC_PER_SEC = 1000000;
30 const int32_t MSEC_PER_SEC = 1000;
31 
32 __PTPMGMT_NAMESPACE_END
33 
34 #endif /* __PTPMGMT_TIME_COMVERT_H */
Define name space.
const int32_t USEC_PER_SEC
Definition: timeCvrt.h:28
__PTPMGMT_NAMESPACE_BEGIN const int32_t NSEC_PER_USEC
Definition: timeCvrt.h:20
const int32_t NSEC_PER_MSEC
Definition: timeCvrt.h:22
const int32_t USEC_PER_MSEC
Definition: timeCvrt.h:26
const int32_t NSEC_PER_SEC
Definition: timeCvrt.h:24
const int32_t MSEC_PER_SEC
Definition: timeCvrt.h:30