jeudi 21 juillet 2016

How to profile if in C++

Is there a tool for know how many time my if it's true and how many time it is false

for exemple:

if (vector.size() == 1)
    return;
do_something();

How to know how many time this if is true?

Aucun commentaire:

Enregistrer un commentaire