Function utils::timespec_to_nsec
Contents
Function utils::timespec_to_nsec#
Defined in File rt_tools.hpp
Function Documentation#
-
int64_t utils::timespec_to_nsec(const timespec &time)#
Convert a pthred timespec to a nb of nano seconds.
- Parameters
time – [in] The pthread timespec to convert.
- Returns
int64_t The corresponding amout of nano seconds.
Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.