45#ifndef _TEUCHOS_TIME_HPP_
46#define _TEUCHOS_TIME_HPP_
58#if ICL || defined(_WIN32)
63#include <sys/resource.h>
92 Time (
const std::string& name,
bool start =
false);
99 static double wallTime ();
107 void start (
bool reset =
false);
149 const std::string&
name()
const {
155 void incrementNumCalls();
167#ifdef HAVE_TEUCHOS_TIME_MASSIF_SNAPSHOTS
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
#define TEUCHOSCORE_LIB_DLL_EXPORT
Concrete serial communicator subclass.
int numCalls() const
The number of times this timer has been called while enabled.
bool isEnabled() const
Whether the timer is enabled (see disable()).
const std::string & name() const
The name of this timer.
bool isRunning() const
Whether the timer is currently running.