Package VisionEgg :: Module Core :: Class FrameTimer
[frames] | no frames]

Class FrameTimer

source code

Time inter frame intervals and compute frames per second.



Instance Methods
 
__init__(self, bin_start_msec=2, bin_stop_msec=28, bin_width_msec=2, running_average_num_frames=0, save_all_frametimes=False)
Create instance of FrameTimer.
source code
 
tick(self)
Declare a frame has just been drawn.
source code
 
get_all_frametimes(self) source code
 
get_longest_frame_duration_sec(self) source code
 
get_running_average_ifi_sec(self) source code
 
get_average_ifi_sec(self) source code
 
print_histogram(self) source code
 
log_histogram(self)
Send histogram to logger.
source code