libptpmgmt 2.0
libptpmgmt library that provides the functionality of linuxptp pmc
Loading...
Searching...
No Matches
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
20const int32_t NSEC_PER_USEC = 1000;
22const int32_t NSEC_PER_MSEC = 1000000;
24const int32_t NSEC_PER_SEC = 1000000000;
26const int32_t USEC_PER_MSEC = 1000;
28const int32_t USEC_PER_SEC = 1000000;
30const 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