As I've been trying to get a better handle on C++ lately, I was wondering how it would be possible to conduct performance tests on different segments of code. For example, func1() versus func2() in clock cycle time, etc.
Are there any tools that would make all that easy within the IDE? Thx for the help.
edit: btw, i know that performance depends on compiler optimizations and may not be consistent.