#include <MLAPI_CompObject.h>
Public Member Functions | |
CompObject () | |
Constructor, set counter to 0.0. | |
~CompObject () | |
Destructor. | |
double | GetFlops () const |
Returns the internal counter of flops. | |
void | SetFlops (double Flops) const |
Sets internal counter to Flops . | |
void | UpdateFlops (double Flops) const |
Updates internal counter by summing Flops . | |
Private Attributes | |
double | Flops_ |
MLAPI::CompObject::CompObject | ( | ) | [inline] |
MLAPI::CompObject::~CompObject | ( | ) | [inline] |
double MLAPI::CompObject::GetFlops | ( | ) | const [inline] |
void MLAPI::CompObject::SetFlops | ( | double | Flops | ) | const [inline] |
void MLAPI::CompObject::UpdateFlops | ( | double | Flops | ) | const [inline] |
double MLAPI::CompObject::Flops_ [mutable, private] |