doubletime_from_previous_launch_in_ms=1000.0*(((double)(getTickCount()-timeWhenDetectingThreadStartedWork))/freq);//the same formula as for lastBigDetectionDuration
doubletime_from_previous_launch_in_ms=1000.0*(((double)(getTickCount()-timeWhenDetectingThreadStartedWork))/freq);//the same formula as for lastBigDetectionDuration