Sorry to ask this here as its not really a c++ question, I only know of this site and stack overflow, and i hate asking questions there. I need to do performance testing and metrics testing of a piece of code, and I have never done this before. I have looked up metric testing in visual studio and found the site below, which tells me how to do it, but it says "results are generated and the Code Metrics Results window is displayed" but I do not see any results and have no idea where I would find this results window, it says in the hierarchy, but im not sure where that is either. I am using vs17, could someone possibly help me out, where I should be looking to find these results?
I was meant to do metrics and performance testing, I guess I will just need to do the performance testing if i can figure it out, and obviously leave out the metrics. thanks for the help though.
if its not gigantic you can do your own if you want metrics. I mean, all you usually want is # of calls made to a function, average time, longest time, and maybe 'was longest time the first call' (so you can know to ignore cache or setup or other one-offs that are not an indication of an issue). If you tie it with macros you can get the function name, cpp file name, etc on some platforms (most?) and just have one generic line at the start and stop of every function.
Warning C26440 Function 'add' can be declared 'noexcept' (f.6).
Warning C26497 The function 'add' could be marked constexpr
Warning C26440 Function 'main' can be declared 'noexcept' (f.6).