#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... | |
|
|
initialize periodic status message timer.
Definition at line 178 of file WKFUtils.C. References NULL, wkfmsgtimer::timer, wkfmsgtimer::updatetime, wkf_timer_create, and wkf_timer_start. |
|
|
destroy message timer.
Definition at line 204 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 190 of file WKFUtils.C. References wkfmsgtimer::timer, wkfmsgtimer::updatetime, wkf_timer_start, and wkf_timer_timenow. |
|
|
create a timer (clears timer).
Definition at line 161 of file WKFUtils.C. References wkf_timerhandle. Referenced by CUDAQuickSurf::calc_surf, Orbital::calculate_mo, VolMapCreateILS::compute, VolMapCreate::compute_all, ComputeOccupancyMap_calculate_slab, CoorPluginData::CoorPluginData, cuda_occupancy_thread, cudabusbw, cudaenergythread, cudamaddgflops, energythread, Symmetry::guess, Mobile::Mobile, openclenergythread, QuickSurf::QuickSurf, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vmddevpoolcudalatencythread, vol_cpotential, vol_cpotential_cpu, and wkf_msg_timer_create. |
|
|
create a timer (clears timer).
Definition at line 168 of file WKFUtils.C. References wkf_timerhandle. |
|
|
start a timer (clears timer).
Definition at line 124 of file WKFUtils.C. References wkf_timer::tz, and wkf_timerhandle. |
|
|
report wall starting time.
Definition at line 142 of file WKFUtils.C. References wkf_timerhandle. |
|
|
stop a timer.
Definition at line 129 of file WKFUtils.C. References wkf_timer::endtime, wkf_timer::tz, and wkf_timerhandle. |
|
|
report wall stopping time.
Definition at line 150 of file WKFUtils.C. References wkf_timer::endtime, and wkf_timerhandle. |
|
|
report elapsed time in seconds.
Definition at line 134 of file WKFUtils.C. References wkf_timer::endtime, and wkf_timerhandle. |
|
|
report elapsed time in seconds.
Definition at line 172 of file WKFUtils.C. References wkf_timer_stop, wkf_timer_time, and wkf_timerhandle. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002