horloge systeme, duree mesuree en micro secondes. More...
#include <ProfilerClock.h>
Classes | |
struct | clock_val |
Public Types | |
typedef int | Ticks |
type des mesures renvoyee par l'horloge systeme. | |
typedef int | Ticks |
type des mesures renvoyee par l'horloge systeme. | |
Static Public Member Functions | |
static Ticks | getTicks () |
renvoie l'horloge systeme. | |
static int | getDelay (const Ticks base) |
renvoie un delai en micro secondes entre le moment actuel et 'base'. | |
static int | delay (const Ticks stop, const Ticks start) |
calcule un delai en micro-secondes entre 'start' et 'stop'. | |
static ProfilerClock & | manager () |
interface du singleton. | |
static Ticks | getTicks () |
static int | getDelay (const Ticks base) |
static int | delay (const Ticks stop, const Ticks start) |
static ProfilerClock & | manager () |
Protected Member Functions | |
ProfilerClock () | |
constructeur prive, singleton, cf manager(). | |
~ProfilerClock () | |
destructeur. | |
int | delay (const struct timeval &x, const struct timeval &base) const |
int | get_ticks () |
int | get_delay (const unsigned int start) |
int | get_ticks () |
int | get_delay (const int base) |
Protected Attributes | |
struct timeval | m_start |
clock_val | m_start |
LARGE_INTEGER | m_last_frequency |
horloge systeme, duree mesuree en micro secondes.