And get them to try and fix the need for chrome lmao
so far I do not know how to achieve the same effect. Should I open a DirectX window and render a little spinning cube or what
Ah, now I know: I will have to integrate flash based advertising!
Is this trick only required for windows? If so, you could try to set the time period to 1 ms. (I believe this is what flash does).
The API is:
timeBeginPeriod What this basically does is increase the (global) interrupt time of windows, which among other things allows waiting functions to be more accurate.
Windows has a default period of 15.6 ms. Meaning every WaitForX, Sleep or Timer function has no better accuracy then that.
When 1 process in the system (e.g chrome) requests a lower time period it affects all processes running on the system.
Hence it might be boosting CudaMiner.
So if someone who gets major benefits of having chrome open and is able to compile the software would like to test this:
Add somewhere at the top of main a call to timeBeginPeriod(1).
At the top of .c file in which main is defined add:
#include
#pragma comment(lib, "winmm.lib")