#include "WKFUtils.h"
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <errno.h>
Go to the source code of this file.
Compounds | |
struct | wkf_timer |
Functions | |
void | wkf_timer_start (wkf_timerhandle v) |
start a timer (clears timer). More... | |
void | wkf_timer_stop (wkf_timerhandle v) |
stop a timer. More... | |
double | wkf_timer_time (wkf_timerhandle v) |
report elapsed time in seconds. More... | |
double | wkf_timer_start_time (wkf_timerhandle v) |
report wall starting time. More... | |
double | wkf_timer_stop_time (wkf_timerhandle v) |
report wall stopping time. More... | |
wkf_timerhandle | wkf_timer_create (void) |
create a timer (clears timer). More... | |
void | wkf_timer_destroy (wkf_timerhandle v) |
create a timer (clears timer). More... | |
double | wkf_timer_timenow (wkf_timerhandle v) |
report elapsed time in seconds. More... | |
wkfmsgtimer * | wkf_msg_timer_create (double updatetime) |
initialize periodic status message timer. More... | |
int | wkf_msg_timer_timeout (wkfmsgtimer *mt) |
return true if it's time to print a status update message. More... | |
void | wkf_msg_timer_destroy (wkfmsgtimer *mt) |
destroy message timer. More... |
Definition in file WKFUtils.C.
|
initialize periodic status message timer.
Definition at line 191 of file WKFUtils.C. References NULL, wkfmsgtimer::timer, wkfmsgtimer::updatetime, wkf_timer_create, and wkf_timer_start. |
|
destroy message timer.
Definition at line 217 of file WKFUtils.C. References wkfmsgtimer::timer, and wkf_timer_destroy. |
|
return true if it's time to print a status update message.
Definition at line 203 of file WKFUtils.C. References wkfmsgtimer::timer, wkfmsgtimer::updatetime, wkf_timer_start, and wkf_timer_timenow. |
|
|
create a timer (clears timer).
Definition at line 181 of file WKFUtils.C. References wkf_timerhandle. |
|
start a timer (clears timer).
Definition at line 137 of file WKFUtils.C. References wkf_timer::tz, and wkf_timerhandle. |
|
report wall starting time.
Definition at line 155 of file WKFUtils.C. References wkf_timerhandle. |
|
stop a timer.
Definition at line 142 of file WKFUtils.C. References wkf_timer::endtime, wkf_timer::tz, and wkf_timerhandle. |
|
report wall stopping time.
Definition at line 163 of file WKFUtils.C. References wkf_timer::endtime, and wkf_timerhandle. |
|
report elapsed time in seconds.
Definition at line 147 of file WKFUtils.C. References wkf_timer::endtime, and wkf_timerhandle. |
|
report elapsed time in seconds.
Definition at line 185 of file WKFUtils.C. References wkf_timer_stop, wkf_timer_time, and wkf_timerhandle. |