Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Sacado::FlopCounterPack Namespace Reference

Classes

class  FlopCounts
 Class storing flop counts and summary flop counts. More...
 
class  ScalarFlopCounter
 Templated flop counter class. More...
 

Functions

std::ostream & printCountersTable (const int n, const char *names[], const char *abbr[], const FlopCounts counts[], std::ostream &out)
 Print a list of flop counts into a single table. More...
 

Function Documentation

std::ostream & Sacado::FlopCounterPack::printCountersTable ( const int  n,
const char *  names[],
const char *  abbr[],
const FlopCounts  counts[],
std::ostream &  out 
)

Print a list of flop counts into a single table.

Parameters
n[in] Number of columns of flop counts
names[in] Array (length n) of the names of each set of flop counts that will be used in the legend.
abbr[in] Array (length n) of abbreviated names (less than 10 chars in length) that will be used as the column headings.
counts[in] Array (length n) of the flop counts themselves.
out[out] Stream that formated table is ouput to.

Definition at line 199 of file Sacado_ScalarFlopCounter.cpp.