|
HMLP: High-performance Machine Learning Primitives
|
Wrapper for omp or pthread mutex. More...
#include <runtime.hpp>
Public Member Functions | |
| Event () | |
| Shared-memory lock that calls either pthread or omp mutex.. More... | |
| void | Set (string, double, double) |
| Set the label, flops, and mops. | |
| void | AddFlopsMops (double, double) |
| void | Begin (size_t) |
| double | GetBegin () |
| double | GetEnd () |
| double | GetDuration () |
| double | GetFlops () |
| double | GetMops () |
| double | GflopsPerSecond () |
| void | Normalize (double shift) |
| void | Terminate () |
| void | Print () |
| void | Timeline (bool isbeg, size_t tag) |
| void | MatlabTimeline (FILE *pFile) |
Wrapper for omp or pthread mutex.
class Lock class EventEvents are attached to tasks to record specific activities.
| hmlp::Event::Event | ( | ) |
| void hmlp::Event::MatlabTimeline | ( | FILE * | pFile | ) |
TODO: this needs to change according to the arch