![]() |
|
PhoenixThread
1.0.0
Tools to ease parallel programming in C++
|
#include <chrono>
Include dependency graph for phoenix_thread_clock.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef int64_t | PEllapsedTime |
| typedef std::chrono::steady_clock | PhoenixClock |
| typedef std::chrono::time_point< std::chrono::steady_clock > | PhoenixTime |
| typedef std::chrono::microseconds | PMicroSecond |
| typedef std::chrono::nanoseconds | PNanoSecond |
| typedef std::chrono::seconds | PSecond |
Functions | |
| template<typename T> | |
| PEllapsedTime | phoenix_ellapsedTime (PhoenixTime referenceTime) |
| Compute an ellapsed time in the given unit. | |
| PhoenixTime | phoenix_thread_clock () |
| Get the current time. | |
| typedef int64_t PEllapsedTime |
Definition at line 18 of file phoenix_thread_clock.h.
| typedef std::chrono::steady_clock PhoenixClock |
Definition at line 14 of file phoenix_thread_clock.h.
| typedef std::chrono::time_point<std::chrono::steady_clock> PhoenixTime |
Definition at line 20 of file phoenix_thread_clock.h.
| typedef std::chrono::microseconds PMicroSecond |
Definition at line 16 of file phoenix_thread_clock.h.
| typedef std::chrono::nanoseconds PNanoSecond |
Definition at line 15 of file phoenix_thread_clock.h.
| typedef std::chrono::seconds PSecond |
Definition at line 17 of file phoenix_thread_clock.h.
| PEllapsedTime phoenix_ellapsedTime | ( | PhoenixTime | referenceTime | ) |
Compute an ellapsed time in the given unit.
| referenceTime | : reference time (no unit, this is a time) |
Definition at line 29 of file phoenix_thread_clock.h.
References phoenix_thread_clock().
Referenced by DetachPool::refresh(), and DetachPool::waitUntilAllFinish().
Here is the call graph for this function:
Here is the caller graph for this function:| PhoenixTime phoenix_thread_clock | ( | ) |
Get the current time.
Definition at line 12 of file phoenix_thread_clock.cpp.
Referenced by DetachPool::initialisationDetachPool(), phoenix_ellapsedTime(), DetachPool::refresh(), and DetachPool::waitUntilAllFinish().
Here is the caller graph for this function: