HMLP: High-performance Machine Learning Primitives
hmlp::Event Class Reference

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)
 

Detailed Description

Wrapper for omp or pthread mutex.

class Lock class EventEvents are attached to tasks to record specific activities.

Constructor & Destructor Documentation

hmlp::Event::Event ( )

Shared-memory lock that calls either pthread or omp mutex..

class Lock class Event(Default) Event constructor.

Member Function Documentation

void hmlp::Event::MatlabTimeline ( FILE *  pFile)

TODO: this needs to change according to the arch


The documentation for this class was generated from the following files: