|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Dune::Fem::FlopCounter Class Reference
A class wrapper for the function PAPI_flops from the package PAPI. The results are CPU time, real and process local and the number of floating point operations in MFLOP/s. More...
#include <dune/fem/misc/flops.hh>
Static Public Member Functions | |
| static void | start () |
| Start counters. | |
| static void | stop () |
| stop counters | |
| static void | print (std::ostream &out) |
| print values to given ostream, all values are gathered to the master rank before printing | |
Protected Member Functions | |
| template<class vec_t > | |
| void | printValues (std::ostream &out, const std::string name, const vec_t &values) const |
Friends | |
| class | Dune::Fem::Singleton< FlopCounter > |
Detailed Description
A class wrapper for the function PAPI_flops from the package PAPI. The results are CPU time, real and process local and the number of floating point operations in MFLOP/s.
Member Function Documentation
◆ print()
|
inlinestatic |
print values to given ostream, all values are gathered to the master rank before printing
◆ printValues()
template<class vec_t >
|
inlineprotected |
◆ start()
|
inlinestatic |
Start counters.
- Note
- Call this method for the master thread before all other threads call this method if used in a multi-thread environment.
◆ stop()
|
inlinestatic |
stop counters
Friends And Related Symbol Documentation
◆ Dune::Fem::Singleton< FlopCounter >
|
friend |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8