Class to manage the profiling of a single loop execution. More...
#include <arccore/base/Profiling.h>
Public Member Functions | |
| void | incrementNbChunk () |
| Increments the number of chunks used. | |
| void | setBeginTime (Int64 v) |
| Sets the loop start time (in nanoseconds). | |
| void | setEndTime (Int64 v) |
| Sets the loop end time in nanoseconds. | |
| Int64 | nbChunk () const |
| Number of chunks. | |
| Int64 | execTime () const |
| Execution time (in nanoseconds). | |
| void | reset () |
Class to manage the profiling of a single loop execution.
Definition at line 93 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Execution time (in nanoseconds).
The returned value is only valid if setBeginTime() and setEndTime() were called previously.
Definition at line 119 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Increments the number of chunks used.
This method can be called simultaneously by multiple threads.
Definition at line 102 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Number of chunks.
Definition at line 111 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Definition at line 121 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Sets the loop start time (in nanoseconds).
Definition at line 105 of file arccore/src/base/arccore/base/Profiling.h.
|
inline |
Sets the loop end time in nanoseconds.
Definition at line 108 of file arccore/src/base/arccore/base/Profiling.h.