GemaCoreLib
The GeMA Core library
Public Member Functions | Private Attributes | List of all members
GmTimeAdder Class Reference

RAII class used to add the elapsed time to a counter received by reference. Counter is incremented in nano seconds. More...

#include <gmLog.h>

Collaboration diagram for GmTimeAdder:
Collaboration graph
[legend]

Public Member Functions

 GmTimeAdder (qint64 *counter)
 

Private Attributes

QElapsedTimer _timer
 Timer used to measure elapsed time.
 
qint64 * _counter
 The counter where the elapsed time will be added to.
 

Detailed Description

RAII class used to add the elapsed time to a counter received by reference. Counter is incremented in nano seconds.


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