Logo Search packages:      
Sourcecode: pan version File versions  Download package

Public Member Functions | Public Attributes

pan::TimeElapsed Struct Reference
[General Utilities]

#include <time-elapsed.h>

List of all members.

Public Member Functions

double get_seconds_elapsed () const

Public Attributes

GTimeVal start

Detailed Description

Simple object used for logging how long a piece of code takes to execute.

Instantiate it before calling the code to be timed, then call get_seconds_elapsed() after the code returns.

Definition at line 18 of file time-elapsed.h.


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

Generated by  Doxygen 1.6.0   Back to index