Sets global Windows' timer resolution using timePeriodBegin(). This function can be used to increase time resolution for timestamps returned by CRget_time() and CRrender_present(). Note that response timestamps are not affected by this function, since the OS determines resolution in this case. Note further that a call
resout <- CRset_timer_resolution(resolution) should always be paired with a call
CRreset_timer_resolution(resout) at a later point of the script to reset the timer resolution. Not resetting the timer's resolution increases CPU load and energy consumption.
resout <- CRset_timer_resolution(resolution)
a target reslution for the Windows' OS timer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.