NEST main@caf0ae8
 
Loading...
Searching...
No Matches
stopwatch.h File Reference
#include <sys/time.h>
#include <chrono>
#include <iostream>
#include <vector>
#include "dictionary.h"
#include "exceptions.h"
Include dependency graph for stopwatch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nest::timers::StopwatchTimer< clock_type >
 This class represents a single timer which measures the execution time of a single thread for a given clock type. More...
 
struct  nest::NoOpStopwatch
 
class  nest::Stopwatch< detailed_timer, threaded_timer >
 This template has two template arguments. More...
 

Namespaces

namespace  nest
 Namespace for the NEST simulation kernel.
 
namespace  nest::timers
 

Enumerations

enum class  nest::StopwatchGranularity { nest::Normal , nest::Detailed }
 
enum class  nest::StopwatchParallelism { nest::MasterOnly , nest::Threaded }
 
enum class  nest::timers::timeunit_t : size_t {
  nest::timers::NANOSEC = 1 , nest::timers::MICROSEC = NANOSEC * 1000 , nest::timers::MILLISEC = MICROSEC * 1000 , nest::timers::SECONDS = MILLISEC * 1000 ,
  nest::timers::MINUTES = SECONDS * 60 , nest::timers::HOURS = MINUTES * 60 , nest::timers::DAYS = HOURS * 24
}
 

Functions

template<clockid_t clock_type>
std::ostream & nest::timers::operator<< (std::ostream &os, const StopwatchTimer< clock_type > &stopwatch)
 

Variables

constexpr bool nest::use_detailed_timers = false
 
constexpr bool nest::use_threaded_timers = false