45#ifndef TEUCHOS_COMPOBJECT_HPP
46#define TEUCHOS_COMPOBJECT_HPP
#define TEUCHOSNUMERICS_LIB_DLL_EXPORT
Object for providing basic support and consistent interfaces for counting/reporting floating-point op...
void setFlopCounter(const Flops &FlopCounter)
Set the internal Teuchos::Flops() pointer.
void updateFlops(int addflops) const
Increment Flop count for this object.
void updateFlops(long int addflops) const
Increment Flop count for this object.
CompObject()
Default constructor.
void unsetFlopCounter()
Set the internal Teuchos::Flops() pointer to 0 (no flops counted).
Flops * getFlopCounter() const
Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none.
void updateFlops(double addflops) const
Increment Flop count for this object.
void resetFlops() const
Resets the number of floating point operations to zero for this multi-std::vector.
double getFlops() const
Returns the number of floating point operations with this multi-std::vector.
void setFlopCounter(const CompObject &compObject)
Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject.
void updateFlops(float addflops) const
Increment Flop count for this object.
The Teuchos Floating Point Operations Class.