44 #ifndef EPETRA_FLOPS_H
45 #define EPETRA_FLOPS_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
82 double Flops()
const {
double tmp = Flops_; Flops_ = 0.0;
return(tmp);};
103 void UpdateFlops(
int Flops_in)
const {Flops_ += (double) Flops_in;};
105 void UpdateFlops(
long int Flops_in)
const {Flops_ += (double) Flops_in;};
107 void UpdateFlops(
long long int Flops_in)
const {Flops_ += (double) Flops_in;};
111 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)