[RFC] Common: Add a buildin profiler

@shuffle2 You're the Windows Guy™, might you know about this?