Specify the initial FPS
Specify the function used to return the current time (in milliseconds)
Optional
Specify the sampling period in milliseconds (default 100)
Specify the initial FPS