Logo Search packages:      
Sourcecode: pan version File versions

pan::TimeElapsed Struct Reference
[General Utilities]

#include <time-elapsed.h>

List of all members.

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.

Public Member Functions

double get_seconds_elapsed () const

Public Attributes

GTimeVal start

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

Generated by  Doxygen 1.6.0   Back to index