[RFC] Common: Add a buildin profiler

These all need m_ prefixes.