MLAPI::CompObject Class Reference

Class to count flops. More...

#include <MLAPI_CompObject.h>

Inheritance diagram for MLAPI::CompObject:

Inheritance graph
[legend]

List of all members.

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_


Detailed Description

Author:
Marzio Sala, SNL 9214
Date:
Last updated on Feb-05.

Constructor & Destructor Documentation

MLAPI::CompObject::CompObject (  )  [inline]

MLAPI::CompObject::~CompObject (  )  [inline]


Member Function Documentation

double MLAPI::CompObject::GetFlops (  )  const [inline]

void MLAPI::CompObject::SetFlops ( double  Flops  )  const [inline]

void MLAPI::CompObject::UpdateFlops ( double  Flops  )  const [inline]


Member Data Documentation

double MLAPI::CompObject::Flops_ [mutable, private]


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