PMDK C++ bindings
1.8.1
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Commonly used conversions. More...
#include <chrono>
#include <ctime>
Go to the source code of this file.
Namespaces | |
pmem | |
A persistent version of concurrent hash map implementation Ref: https://arxiv.org/abs/1509.02235. | |
Functions | |
template<typename Clock , typename Duration = typename Clock::duration> | |
timespec | pmem::detail::timepoint_to_timespec (const std::chrono::time_point< Clock, Duration > &timepoint) |
Convert std::chrono::time_point to posix timespec. More... | |
Commonly used conversions.
timespec pmem::detail::timepoint_to_timespec | ( | const std::chrono::time_point< Clock, Duration > & | timepoint | ) |
Convert std::chrono::time_point to posix timespec.
[in] | timepoint | point in time to be converted. |