ETL
0.04.19
|
#include <_clock_gettimeofday.h>
Classes | |
class | timestamp |
Public Types | |
typedef double | 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 () |
Static Protected Member Functions | |
static void | get_current_time (timestamp &x) |
static timestamp | get_current_time () |
static value_type | timestamp_to_seconds (const timestamp &x) |
static timestamp | seconds_to_timestamp (const value_type &x) |
======================================================================== Extended Template and Library gettimeofday() Clock Description Implementation $Id$
Copyright (c) 2002 Robert B. Quattlebaum Jr.
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
=== N O T E S ===========================================================
This is an internal header file, included by other ETL headers. You should not attempt to use it directly.
Definition at line 43 of file _clock_gettimeofday.h.
typedef double clock_desc_gettimeofday::value_type |
Definition at line 46 of file _clock_gettimeofday.h.
|
inlinestatic |
Definition at line 48 of file _clock_gettimeofday.h.
|
inlinestatic |
Definition at line 51 of file _clock_gettimeofday.h.
|
inlinestatic |
Definition at line 55 of file _clock_gettimeofday.h.
Referenced by precision().
|
inlinestatic |
Definition at line 58 of file _clock_gettimeofday.h.
References f, and one_second().
Referenced by seconds_to_timestamp(), and timestamp_to_seconds().
|
inlinestatic |
Definition at line 61 of file _clock_gettimeofday.h.
|
inlinestaticprotected |
Definition at line 115 of file _clock_gettimeofday.h.
References NULL.
|
inlinestaticprotected |
Definition at line 119 of file _clock_gettimeofday.h.
References get_current_time().
Referenced by get_current_time().
|
inlinestaticprotected |
Definition at line 123 of file _clock_gettimeofday.h.
References precision().
|
inlinestaticprotected |
Definition at line 127 of file _clock_gettimeofday.h.
References floor(), and precision().