GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
TimerAccumulate Class Reference

A timer which adds its elapsed time to an accumulator variable on destruction. More...

#include <timer.h>

Public Member Functions

 TimerAccumulate (double &accumulator)
 
 ~TimerAccumulate ()
 
double get () const
 Get the elapsed time since this object was created. More...
 

Detailed Description

A timer which adds its elapsed time to an accumulator variable on destruction.

Constructor & Destructor Documentation

◆ TimerAccumulate()

TimerAccumulate::TimerAccumulate ( double &  accumulator)
inline

◆ ~TimerAccumulate()

TimerAccumulate::~TimerAccumulate ( )
inline

Member Function Documentation

◆ get()

double TimerAccumulate::get ( ) const
inline

Get the elapsed time since this object was created.


The documentation for this class was generated from the following file: