have you tried to use profilers? like VTune?
have you tried to use profilers? like VTune?
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
That's a good suggestion, but under Linux, I'd recommend "oprofile" - which is like VTune, but open source and supports BOTH Intel and AMD processors (along with some non-x86 processors).
The only problem would be that it's probably NOT showing how much time was spent per thread, but rather all threads that used a particular function.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.