| Home | Trees | Indices | Help |
|
|---|
|
|
| Classes | |
|
Clock A convenient class to keep track of time in your experiments. |
|
| Functions | |||
|
|||
|
|||
|
|||
| Variables | |
runningThreads =
|
|
havePyglet = False
|
|
| Function Details |
Wait for a given time period. If secs=10 and hogCPU=0.2 then for 9.8s python's time.sleep function will be used, which is not especially precise, but allows the cpu to perform housekeeping. In the final hogCPUperiod the more precise method of constantly polling the clock is used for greater precision. If you want to obtain key-presses during the wait, be sure to use pyglet and to hogCPU for the entire time, and then call event.getKeys() after calling core.wait() |
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Nov 3 14:03:43 2010 | http://epydoc.sourceforge.net |