44 #ifndef EPETRA_FLOPS_H
45 #define EPETRA_FLOPS_H
74 double Flops()
const {
double tmp = Flops_; Flops_ = 0.0;
return(tmp);};
95 void UpdateFlops(
int Flops_in)
const {Flops_ += (double) Flops_in;};
97 void UpdateFlops(
long int Flops_in)
const {Flops_ += (double) Flops_in;};
99 void UpdateFlops(
long long int Flops_in)
const {Flops_ += (double) Flops_in;};
103 void UpdateFlops(
float Flops_in)
const {Flops_ +=(double) Flops_in;};
void UpdateFlops(double Flops_in) const
Increment Flop count for this object from a double.
void UpdateFlops(int Flops_in) const
Increment Flop count for this object from an int.
void UpdateFlops(long int Flops_in) const
Increment Flop count for this object from a long int.
void UpdateFlops(long long int Flops_in) const
Increment Flop count for this object from a long int.
Epetra_CompObject: Functionality and data that is common to all computational classes.
void UpdateFlops(float Flops_in) const
Increment Flop count for this object from a float.
void ResetFlops()
Resets the number of floating point operations to zero for this multi-vector.
Epetra_Flops: The Epetra Floating Point Operations Class.
double Flops() const
Returns the number of floating point operations with this object and resets the count.
Epetra_Flops & operator=(const Epetra_Flops &src)