microsecond and millisecond timing for code (windows native C++) Simply include .h file, create a 'CTimeMS' object locally or globally, and call 'ShowCurrMicro('message'), GetTimeMicro(), GetTimeMS. Use 'Start()' to start accumulative values between 'ShowCurrMicro()' calls. ShowCurrMicro() outputs to debug window (in VS output if debugging, or use sysinternals DebugView run in administrator mode.
TODO: C++/CX version. C# JS.
sprintf_s define requires include of <stdio.h>