Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
Timer Class Reference

#include <Timer.h>

Public Member Functions

void start ()
 
long lap ()
 
long lap (long oldTv_sec, long oldTv_usec)
 
long getSec ()
 
long getUsec ()
 

Detailed Description

Class that encapsulates timing capability, for performance measurement. Includes lap timing capability.

Definition at line 55 of file Timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )

Definition at line 12 of file Timer.cpp.

Member Function Documentation

◆ getSec()

long Timer::getSec ( )

Definition at line 44 of file Timer.cpp.

◆ getUsec()

long Timer::getUsec ( )

Definition at line 50 of file Timer.cpp.

◆ lap() [1/2]

long Timer::lap ( )

Definition at line 27 of file Timer.cpp.

◆ lap() [2/2]

long Timer::lap ( long oldTv_sec,
long oldTv_usec )

Definition at line 36 of file Timer.cpp.

◆ start()

void Timer::start ( )

Definition at line 21 of file Timer.cpp.


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