NAME
icetWallTime -- timer function
Synopsis
#include <GL/ice-t.h>
double icetWallTime( void )
Description
Retrieves the current time, in seconds. The returned values of
icetWallTime are only valid in relation to each other. That is, the
time may or may not have anything to do with the current date or time.
However, the difference of values between two calls to icetWallTime is
the elapsed time in seconds between the two calls. Thus, icetWallTime
is handy for determining the running time of various subprocesses.
icetWallTime is used internally for determining the values for the
state variables ICET_BUFFER_READ_TIME, ICET_BUFFER_WRITE_TIME,
ICET_COMPARE_TIME, ICET_COMPOSITE_TIME, ICET_COMPRESS_TIME,
ICET_RENDER_TIME, and ICET_TOTAL_DRAW_TIME.
Return Value
The current time, in seconds.
Errors
ICET_INVALID_VALUE
You've screwed up something a little bit.
ICET_INVALID_OPERATION
You've screwed something up a lot.
ICET_OUT_OF_MEMORY
You need a better computer to do what you want to do.
ICET_BAD_CAST
The argument is of the wrong format.
ICET_INVALID_ENUM
One of us does not know what he is talking about.
ICET_SANITY_CHECK_FAIL
I've screwed something up a lot.
Warnings
None.
Bugs
None known.
Notes
This man page should never be installed. It should just be used to help
make other man pages.
Copyright
Copyright (C)2003 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
license for use of this work by or on behalf of the U.S. Government.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that this Notice and any statement
of authorship are reproduced on all copies.
See Also
icetGet(3)
IceT Reference December 1, 2006 icetWallTime(3)