Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
comm/example/TimeMonitor/cxx_main.cpp File Reference
#include "Teuchos_TimeMonitor.hpp"
#include "Teuchos_Version.hpp"
Include dependency graph for comm/example/TimeMonitor/cxx_main.cpp:

Go to the source code of this file.

Functions

double quadFunc (double x)
 
double factFunc (int x)
 
int main (int argc, char *argv[])
 

Variables

RCP< TimeCompTime = TimeMonitor::getNewCounter("Computational Time")
 
RCP< TimeFactTime = TimeMonitor::getNewCounter("Factorial Time")
 

Function Documentation

double quadFunc ( double  x)

Definition at line 97 of file comm/example/TimeMonitor/cxx_main.cpp.

double factFunc ( int  x)

Definition at line 107 of file comm/example/TimeMonitor/cxx_main.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 63 of file comm/example/TimeMonitor/cxx_main.cpp.

Variable Documentation

RCP<Time> CompTime = TimeMonitor::getNewCounter("Computational Time")

Definition at line 54 of file comm/example/TimeMonitor/cxx_main.cpp.

RCP<Time> FactTime = TimeMonitor::getNewCounter("Factorial Time")

Definition at line 55 of file comm/example/TimeMonitor/cxx_main.cpp.