ETL  0.04.19
Public Types | Static Public Member Functions | Protected Types | Static Protected Member Functions | List of all members
clock_desc_sys_clock Class Reference

#include <_clock_system.h>

Public Types

typedef float value_type

Static Public Member Functions

static bool realtime ()
static bool proctime ()
static value_type one_second ()
static value_type precision ()
static const char * description ()

Protected Types

typedef clock_t timestamp

Static Protected Member Functions

static void get_current_time (timestamp &time)
static timestamp get_current_time ()
static value_type timestamp_to_seconds (const timestamp &x)
static timestamp seconds_to_timestamp (const value_type &x)

Detailed Description

Definition at line 60 of file _clock_system.h.

Member Typedef Documentation

Definition at line 63 of file _clock_system.h.

typedef clock_t clock_desc_sys_clock::timestamp
protected

Definition at line 79 of file _clock_system.h.

Member Function Documentation

static bool clock_desc_sys_clock::realtime ( )
inlinestatic

Definition at line 65 of file _clock_system.h.

static bool clock_desc_sys_clock::proctime ( )
inlinestatic

Definition at line 68 of file _clock_system.h.

static value_type clock_desc_sys_clock::one_second ( )
inlinestatic

Definition at line 72 of file _clock_system.h.

Referenced by precision().

static value_type clock_desc_sys_clock::precision ( )
inlinestatic

Definition at line 75 of file _clock_system.h.

References one_second().

Referenced by timestamp_to_seconds().

static const char* clock_desc_sys_clock::description ( )
inlinestatic

Definition at line 78 of file _clock_system.h.

static void clock_desc_sys_clock::get_current_time ( timestamp time)
inlinestaticprotected

Definition at line 85 of file _clock_system.h.

References __sys_clock.

static timestamp clock_desc_sys_clock::get_current_time ( )
inlinestaticprotected

Definition at line 89 of file _clock_system.h.

References __sys_clock.

static value_type clock_desc_sys_clock::timestamp_to_seconds ( const timestamp x)
inlinestaticprotected

Definition at line 93 of file _clock_system.h.

References precision().

static timestamp clock_desc_sys_clock::seconds_to_timestamp ( const value_type x)
inlinestaticprotected

Definition at line 97 of file _clock_system.h.


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