A class to measure and store performance statistics of communication among processes that perform computation in the computational graph.
More...
#include <mlsl.hpp>
A class to measure and store performance statistics of communication among processes that perform computation in the computational graph.
unsigned long long MLSL::Statistics::GetCommCycles |
( |
size_t |
opIdx | ) |
|
Returns the communication time of a particular operation.
- Parameters
-
- Returns
- The time in CPU clock cyles
size_t MLSL::Statistics::GetCommSize |
( |
size_t |
opIdx | ) |
|
Returns the communication size of a particular operation.
- Parameters
-
- Returns
- The size value in bytes.
unsigned long long MLSL::Statistics::GetComputeCycles |
( |
size_t |
opIdx | ) |
|
Returns the compute time of a particular operation.
- Parameters
-
- Returns
- The time in CPU clock cyles
unsigned long long MLSL::Statistics::GetIsolationCommCycles |
( |
size_t |
opIdx | ) |
|
Returns the isolation communication time of a particular operation for one iteration.
- Parameters
-
- Returns
- The time in CPU clock cyles
unsigned long long MLSL::Statistics::GetTotalCommCycles |
( |
| ) |
|
Returns the total communication time for all operations.
- Returns
- The time in CPU clock cyles.
size_t MLSL::Statistics::GetTotalCommSize |
( |
| ) |
|
Returns the total communication size.
- Returns
- The size value in bytes.
unsigned long long MLSL::Statistics::GetTotalComputeCycles |
( |
| ) |
|
Returns the total compute time for all operations.
- Returns
- The time in CPU clock cyles.
unsigned long long MLSL::Statistics::GetTotalIsolationCommCycles |
( |
| ) |
|
Returns the total isolation communication time for all operations for one iteration.
- Returns
- The time in CPU clock cyles
bool MLSL::Statistics::IsEnabled |
( |
| ) |
|
- Returns
- True if statistics collection is enabled, false otherwise.
bool MLSL::Statistics::IsStarted |
( |
| ) |
|
- Returns
- True if the statistics collection is started, false otherwise.
void MLSL::Statistics::Print |
( |
| ) |
|
Prints the measured statistics information.
void MLSL::Statistics::Reset |
( |
| ) |
|
Clears the measured statistics information.
void MLSL::Statistics::Start |
( |
| ) |
|
Starts statistics collection.
void MLSL::Statistics::Stop |
( |
| ) |
|
Stops statistics collection.
The documentation for this class was generated from the following file: