I am aware that this is, technically, not a question about c++ but
surely here someone will now-how-to. I have a program, with lots of
routines, and complicated stuff. I want to optimize it but I don't
want to optimize all the parts, but rather the ones in which it takes
longer. Of course one can put time logs in the program, but there must
be an efficient way on how to do it. If someone can point out a few
keywords or commands in gdb or other linux debugger or something else,
I would be quite pleased. Thanks a lot!