![]() |
|
PhoenixClock
2.2.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
|
#include "ellapsedTime.h"#include <time.h>#include <chrono>#include <ctime>#include <string>#include <thread>
Include dependency graph for PClockNs.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | PClockNs |
| Nanosecond clock. More... | |
Functions | |
| std::string | phoenix_dateCompactNs (std::time_t currentDateNs) |
| Convert a given date in nanosecond into a text date in a more compact way. | |
| std::string | phoenix_dateNs (std::time_t currentDateNs) |
| Convert a given date in nanosecond into a text date. | |
| std::string | phoenix_dateNs (std::time_t currentDateNs, const char *format) |
| Convert a given date in nanosecond into a text date. | |
| std::string phoenix_dateCompactNs | ( | std::time_t | currentDateNs | ) |
Convert a given date in nanosecond into a text date in a more compact way.
| currentDateNs | : date in nanosecond to be converted |
Definition at line 38 of file PClockNs.cpp.
References phoenix_dateNs().
Referenced by PClockNs::getDateCompactNs().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string phoenix_dateNs | ( | std::time_t | currentDateNs | ) |
Convert a given date in nanosecond into a text date.
| currentDateNs | : date in nanosecond to be converted |
Definition at line 30 of file PClockNs.cpp.
References phoenix_dateNs().
Here is the call graph for this function:| std::string phoenix_dateNs | ( | std::time_t | currentDateNs, |
| const char * | format ) |
Convert a given date in nanosecond into a text date.
| currentDateNs | : date in nanosecond to be converted |
| format | : format to print the date (refer to std::strftime for the detail) |
Definition at line 15 of file PClockNs.cpp.
Referenced by PClockNs::getDateNs(), phoenix_dateCompactNs(), and phoenix_dateNs().
Here is the caller graph for this function: