use better timer on windows.
adding setinlined function to function definition api to force inlining.