A timing object that averages over multiple threads.
More...
#include <timing.hpp>
|
| | measure_diagnostic_threaded (const std::string message="") |
| | Construct a time diagnostic object.
|
| |
| void | start_time (const size_t thread_number) |
| | Start time for a given thread.
|
| |
| void | end_time (const size_t thread_number) |
| | End time for a given thread.
|
| |
|
void | print () |
| | Print out the average time.
|
| |
A timing object that averages over multiple threads.
◆ measure_diagnostic_threaded()
| timing::measure_diagnostic_threaded::measure_diagnostic_threaded |
( |
const std::string |
message = "" | ) |
|
|
inline |
Construct a time diagnostic object.
- Parameters
-
| [in] | message | Discription of what is being timed. |
◆ end_time()
| void timing::measure_diagnostic_threaded::end_time |
( |
const size_t |
thread_number | ) |
|
|
inline |
End time for a given thread.
- Parameters
-
| [in] | thread_number | The thread number to start the timer for. |
◆ start_time()
| void timing::measure_diagnostic_threaded::start_time |
( |
const size_t |
thread_number | ) |
|
|
inline |
Start time for a given thread.
- Parameters
-
| [in] | thread_number | The thread number to start the timer for. |
The documentation for this class was generated from the following file: