NVML C++ bindings  0.1 experimental
This is the C++ bindings documentation for NVML's libpmemobj.
Functions
conversions.hpp File Reference

Commonly used conversions. More...

#include <chrono>
#include <time.h>
Include dependency graph for conversions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Clock , typename Duration = typename Clock::duration>
timespec nvml::detail::timepoint_to_timespec (const std::chrono::time_point< Clock, Duration > &timepoint)
 Convert std::chrono::time_point to posix timespec. More...
 

Detailed Description

Commonly used conversions.

Function Documentation

template<typename Clock , typename Duration = typename Clock::duration>
timespec nvml::detail::timepoint_to_timespec ( const std::chrono::time_point< Clock, Duration > &  timepoint)

Convert std::chrono::time_point to posix timespec.

Parameters
[in]timepointpoint in time to be converted.
Returns
converted timespec structure.