#include "CTBsystem.hxx"
Static Public Methods | |
double | CpuTime () |
double | ElapsedTime () |
int | SelectRead (int i_fd, float f_timeout) |
int | SelectWrite (int i_fd, float f_timeout) |
void | Sleep (float f_time) |
void | ExpandFilename (char *c_dst, int i_size, const char *c_src) |
Definition at line 16 of file CTBsystem.hxx.
|
Returns CPU time in seconds.
Definition at line 65 of file CTBsystem.cxx. Referenced by CTBtraceClock::Reset(), CTBtraceClock::Start(), and CTBtraceClock::Update().
|
|
Returns elapsed time in seconds.
Definition at line 88 of file CTBsystem.cxx. Referenced by CTBtraceClock::Reset(), CTBtraceClock::Start(), and CTBtraceClock::Update().
|
|
Test whether file descriptor is ready to read. Returns a positive number if the file descriptor i_fd is ready to read. If f_timeout is positive, a 0 is returned if this condition is not fulfilled within f_timeout seconds. A negative number is returned in case of an error, e.g. if i_fd is not a valid file descriptor number. Definition at line 110 of file CTBsystem.cxx. |
|
Test whether file descriptor is ready to write. Returns a positive number if the file descriptor i_fd is ready to write. If f_timeout is positive, a 0 is returned if this condition is not fulfilled within f_timeout seconds. A negative number is returned in case of an error, e.g. if i_fd is not a valid file descriptor number. Definition at line 140 of file CTBsystem.cxx. |
|
Sleep for f_timeout seconds.
The calling process is suspended for f_timeout seconds using the Definition at line 170 of file CTBsystem.cxx. |
|
Expand substitutions in filenames. The expanded form of the file name c_src is stored in the C string c_dst which has a size of i_size. Definition at line 196 of file CTBsystem.cxx. |