Public Member Functions | |
| __init__ (self) | |
| expstart (self) | |
| get_time (self) | |
| pause (self) | |
| expend (self) | |
Class for keeping track of time
| pygaze._time.basetime.BaseTime.__init__ | ( | self | ) |
Initializes a Time instance
arguments
None
keyword arguments
None
| pygaze._time.basetime.BaseTime.expend | ( | self | ) |
Completely ends the experiment (only call this at the end!)
arguments
None
keyword arguments
None
returns
endtime -- ending time of the experiment (in milliseconds since
expbegintime
Reimplemented in pygaze._time.ostime.OSTime, pygaze._time.psychopytime.PsychoPyTime, and pygaze._time.pygametime.PyGameTime.
| pygaze._time.basetime.BaseTime.expstart | ( | self | ) |
Time is set to 0 when calling this
arguments
None
keyword arguments
None
returns
Nothing
Reimplemented in pygaze._time.ostime.OSTime, pygaze._time.psychopytime.PsychoPyTime, and pygaze._time.pygametime.PyGameTime.
| pygaze._time.basetime.BaseTime.get_time | ( | self | ) |
Returns current time in milliseconds
arguments
None
keyword arguments
None
returns
time -- current time in milliseconds, as measured since
expbegintime
Reimplemented in pygaze._time.ostime.OSTime, pygaze._time.psychopytime.PsychoPyTime, and pygaze._time.pygametime.PyGameTime.
| pygaze._time.basetime.BaseTime.pause | ( | self | ) |
Pauses the experiment for given number of milliseconds
arguments
pausetime -- time to pause in milliseconds
keyword arguments
None
returns
pausetime -- actual time the system paused (in milliseconds)
Reimplemented in pygaze._time.ostime.OSTime, pygaze._time.psychopytime.PsychoPyTime, and pygaze._time.pygametime.PyGameTime.