Here are my code snippets to measure execution time in C++ as a DebugTimer:

It’s a static class so it’s very easy to use:

That’s it!