List of all members.
Public Member Functions
|Flops Constructor. |
|Flops (const Flops &flops)|
|Flops Copy Constructor. |
|Flops Destructor. |
Attribute access/reset methods.
|double||getFlops () const|
|Returns the number of floating point operations with this object and resets the count. |
|Resets the number of floating point operations to zero for this multi-vector. |
Protected Member Functions
|void||updateFlops (int flops) const|
|Increment flop count for this object from an int. |
|void||updateFlops (long int flops) const|
|Increment flop count for this object from a long int. |
|void||updateFlops (double flops) const|
|Increment flop count for this object from a double. |
|void||updateFlops (float flops) const|
|Increment flop count for this object from a float. |
|CompObject needs to be able to set the flopCounter_ attribute of Flops. |
The Kokkos::Flops class provides basic support and consistent interfaces for counting and reporting floating point operations performed in the Kokkos computational classes. All classes based on the Kokkos::CompObject can count flops by the user creating an Kokkos::Flops object and calling the SetFlopCounter() method for an Kokkos::CompObject.
Creates a Flops instance. This instance can be queried for the number of floating point operations performed for the associated this object.
Flops Copy Constructor.
Makes a copy of an existing Flops instance.