[RFC] Common: Add a buildin profiler

QueryPerformanceCounter.

It can be wrapped to look like unix' gettimeofday: http://cs.uccs.edu/~gsc/pub/master/isemwal/new_webstone/WebStone2.5/src/gettimeofday.c