Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

WKFUtils.h File Reference

Go to the source code of this file.

Compounds

struct  wkfmsgtimer

Defines

#define WKF_UTILS_INC   1

Typedefs

typedef void * wkf_timerhandle
 a timer handle. More...


Functions

wkf_timerhandle wkf_timer_create (void)
 create a timer (clears timer). More...

void wkf_timer_destroy (wkf_timerhandle)
 create a timer (clears timer). More...

void wkf_timer_start (wkf_timerhandle)
 start a timer (clears timer). More...

void wkf_timer_stop (wkf_timerhandle)
 stop a timer. More...

double wkf_timer_time (wkf_timerhandle)
 report elapsed time in seconds. More...

double wkf_timer_timenow (wkf_timerhandle)
 report elapsed time in seconds. More...

double wkf_timer_start_time (wkf_timerhandle)
 report wall starting time. More...

double wkf_timer_stop_time (wkf_timerhandle)
 report wall stopping time. More...

wkfmsgtimerwkf_msg_timer_create (double updatetime)
 initialize periodic status message timer. More...

int wkf_msg_timer_timeout (wkfmsgtimer *time)
 return true if it's time to print a status update message. More...

void wkf_msg_timer_destroy (wkfmsgtimer *mt)
 destroy message timer. More...


Define Documentation

#define WKF_UTILS_INC   1
 

Definition at line 43 of file WKFUtils.h.


Typedef Documentation

typedef void* wkf_timerhandle
 

a timer handle.

Definition at line 49 of file WKFUtils.h.

Referenced by Orbital::calculate_mo, VolMapCreateILS::compute, VolMapCreate::compute_all, ComputeOccupancyMap_calculate_slab, cuda_occupancy_thread, cudabusbw, cudaenergythread, cudamaddgflops, energythread, Symmetry::guess, openclenergythread, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vol_cpotential, vol_cpotential_cpu, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_start_time, wkf_timer_stop, wkf_timer_stop_time, wkf_timer_time, and wkf_timer_timenow.


Function Documentation

wkfmsgtimer* wkf_msg_timer_create double    updatetime
 

initialize periodic status message timer.

Definition at line 178 of file WKFUtils.C.

Referenced by bondsearchthread, cudaenergythread, energythread, measure_gofr, openclenergythread, and vmd_gridsearch1.

void wkf_msg_timer_destroy wkfmsgtimer   mt
 

destroy message timer.

Definition at line 204 of file WKFUtils.C.

Referenced by bondsearchthread, cudaenergythread, energythread, measure_gofr, openclenergythread, and vmd_gridsearch1.

int wkf_msg_timer_timeout wkfmsgtimer   time
 

return true if it's time to print a status update message.

Definition at line 190 of file WKFUtils.C.

Referenced by bondsearchthread, cudaenergythread, energythread, measure_gofr_orth, openclenergythread, and vmd_gridsearch1.

wkf_timerhandle wkf_timer_create void   
 

create a timer (clears timer).

Definition at line 161 of file WKFUtils.C.

void wkf_timer_destroy wkf_timerhandle   
 

create a timer (clears timer).

Definition at line 168 of file WKFUtils.C.

Referenced by Orbital::calculate_mo, VolMapCreateILS::compute, VolMapCreate::compute_all, ComputeOccupancyMap_calculate_slab, cuda_occupancy_thread, cudabusbw, cudaenergythread, cudamaddgflops, energythread, Symmetry::guess, openclenergythread, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vol_cpotential, vol_cpotential_cpu, wkf_msg_timer_destroy, and CoorPluginData::~CoorPluginData.

void wkf_timer_start wkf_timerhandle   
 

start a timer (clears timer).

Definition at line 124 of file WKFUtils.C.

Referenced by Orbital::calculate_mo, VolMapCreateILS::compute, VolMapCreate::compute_all, ComputeOccupancyMap_calculate_slab, CoorPluginData::CoorPluginData, cuda_occupancy_thread, cudabusbw, cudaenergythread, cudamaddgflops, energythread, Symmetry::guess, openclenergythread, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vol_cpotential, vol_cpotential_cpu, wkf_msg_timer_create, and wkf_msg_timer_timeout.

double wkf_timer_start_time wkf_timerhandle   
 

report wall starting time.

Definition at line 142 of file WKFUtils.C.

void wkf_timer_stop wkf_timerhandle   
 

stop a timer.

Definition at line 129 of file WKFUtils.C.

Referenced by Orbital::calculate_mo, VolMapCreate::compute_all, cudabusbw, cudamaddgflops, Symmetry::guess, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vol_cpotential_cpu, and wkf_timer_timenow.

double wkf_timer_stop_time wkf_timerhandle   
 

report wall stopping time.

Definition at line 150 of file WKFUtils.C.

double wkf_timer_time wkf_timerhandle   
 

report elapsed time in seconds.

Definition at line 134 of file WKFUtils.C.

Referenced by Orbital::calculate_mo, VolMapCreate::compute_all, cudabusbw, cudamaddgflops, Symmetry::guess, stream_bench, vmd_cuda_devpool_latency, vmd_cuda_vol_cpotential, vmd_opencl_vol_cpotential, vol_cpotential_cpu, and wkf_timer_timenow.

double wkf_timer_timenow wkf_timerhandle   
 

report elapsed time in seconds.

Definition at line 172 of file WKFUtils.C.

Referenced by VolMapCreateILS::compute, ComputeOccupancyMap_calculate_slab, cuda_occupancy_thread, cudaenergythread, energythread, CoorPluginData::next, openclenergythread, vol_cpotential, and wkf_msg_timer_timeout.


Generated on Tue Nov 24 01:41:25 2009 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002