13#ifndef _TEUCHOS_TIME_HPP_ 
   14#define _TEUCHOS_TIME_HPP_ 
   26#if ICL || defined(_WIN32) 
   31#include <sys/resource.h> 
   53class TEUCHOSCORE_LIB_DLL_EXPORT 
Time {
 
   60  Time (
const std::string& name, 
bool start = 
false);
 
   67  static double wallTime ();
 
   75  void start (
bool reset = 
false);
 
  117  const std::string& 
name()
 const {
 
 
  123  void incrementNumCalls();
 
  135#ifdef HAVE_TEUCHOS_TIME_MASSIF_SNAPSHOTS 
 
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
 
Smart reference counting pointer class for automatic garbage collection.
 
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.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...