|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
RAII class for a prof region. More...
#include <profiling.hpp>
Public Member Functions | |
| ProfRegion (char const *name, bool sync=false) | |
| Create a prof region using an automatic color. More... | |
| ProfRegion (char const *name, int color, bool sync=false) | |
| Create a prof region with an explicit color. More... | |
| ~ProfRegion () | |
Private Attributes | |
| char const * | m_name |
| bool | m_sync |
RAII class for a prof region.
Definition at line 85 of file profiling.hpp.
| lbann::ProfRegion::ProfRegion | ( | char const * | name, |
| bool | sync = false |
||
| ) |
Create a prof region using an automatic color.
| lbann::ProfRegion::ProfRegion | ( | char const * | name, |
| int | color, | ||
| bool | sync = false |
||
| ) |
Create a prof region with an explicit color.
| lbann::ProfRegion::~ProfRegion | ( | ) |
|
private |
Definition at line 96 of file profiling.hpp.
|
private |
Definition at line 97 of file profiling.hpp.