| 
    NAMD
    
   | 
 
Go to the source code of this file.
Classes | |
| struct | wkfmsgtimer | 
Typedefs | |
| typedef void * | wkf_timerhandle | 
Functions | |
| wkf_timerhandle | wkf_timer_create (void) | 
| void | wkf_timer_destroy (wkf_timerhandle) | 
| void | wkf_timer_start (wkf_timerhandle) | 
| void | wkf_timer_stop (wkf_timerhandle) | 
| double | wkf_timer_time (wkf_timerhandle) | 
| double | wkf_timer_timenow (wkf_timerhandle) | 
| double | wkf_timer_start_time (wkf_timerhandle) | 
| double | wkf_timer_stop_time (wkf_timerhandle) | 
| wkfmsgtimer * | wkf_msg_timer_create (double updatetime) | 
| int | wkf_msg_timer_timeout (wkfmsgtimer *time) | 
| void | wkf_msg_timer_destroy (wkfmsgtimer *mt) | 
| typedef void* wkf_timerhandle | 
a timer handle
Definition at line 49 of file wkfutils.h.
| wkfmsgtimer* wkf_msg_timer_create | ( | double | updatetime | ) | 
initialize periodic status message timer
initialize status message timer
Definition at line 178 of file wkfutils.c.
References wkfmsgtimer::timer, wkfmsgtimer::updatetime, wkf_timer_create(), and wkf_timer_start().
| void wkf_msg_timer_destroy | ( | wkfmsgtimer * | mt | ) | 
destroy message timer
Definition at line 204 of file wkfutils.c.
References wkfmsgtimer::timer, and wkf_timer_destroy().
| int wkf_msg_timer_timeout | ( | wkfmsgtimer * | mt | ) | 
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().
| wkf_timerhandle wkf_timer_create | ( | void | ) | 
create a timer (clears timer)
Definition at line 161 of file wkfutils.c.
Referenced by NL_msm_create(), and wkf_msg_timer_create().
| void wkf_timer_destroy | ( | wkf_timerhandle | ) | 
create a timer (clears timer)
Definition at line 168 of file wkfutils.c.
Referenced by NL_msm_destroy(), and wkf_msg_timer_destroy().
| void wkf_timer_start | ( | wkf_timerhandle | ) | 
start a timer (clears timer)
Definition at line 124 of file wkfutils.c.
References wkf_timer::tz.
Referenced by NL_msm_compute_force(), NL_msm_compute_force_sprec(), NL_msm_compute_long_range(), NL_msm_compute_long_range_sprec(), wkf_msg_timer_create(), and wkf_msg_timer_timeout().
| double wkf_timer_start_time | ( | wkf_timerhandle | ) | 
| void wkf_timer_stop | ( | wkf_timerhandle | ) | 
stop a timer
Definition at line 129 of file wkfutils.c.
References wkf_timer::endtime, and wkf_timer::tz.
Referenced by NL_msm_compute_force(), NL_msm_compute_force_sprec(), NL_msm_compute_long_range(), NL_msm_compute_long_range_sprec(), and wkf_timer_timenow().
| double wkf_timer_stop_time | ( | wkf_timerhandle | ) | 
report wall stopping time
Definition at line 150 of file wkfutils.c.
References wkf_timer::endtime.
| double wkf_timer_time | ( | wkf_timerhandle | ) | 
report elapsed time in seconds
Definition at line 134 of file wkfutils.c.
References wkf_timer::endtime.
Referenced by NL_msm_compute_force(), NL_msm_compute_force_sprec(), NL_msm_compute_long_range(), NL_msm_compute_long_range_sprec(), and wkf_timer_timenow().
| double wkf_timer_timenow | ( | wkf_timerhandle | ) | 
report elapsed time in seconds
Definition at line 172 of file wkfutils.c.
References wkf_timer_stop(), and wkf_timer_time().
Referenced by wkf_msg_timer_timeout().
 1.8.14