Common: Add a buildin profiler

I've used std::list instead. The removeal is very uncommon