getPrbHT spends half of its cpu time retrieving a MsgStream for messages rarely if ever printed (DEBUG)
Normalized to parent so in this case the function appears as 100%.... Took me a bit to understand why some seemingly simple math bring in a pthread_mutex_lock in the main loop etc etc
If you are to need them again (why?) please read https://indico.cern.ch/event/252634/contributions/564148/attachments/440055/610507/2013-06-10-swtut.pdf by @ssnyder slides 27-28. You would prb be better of passing it ,and replicating the unlikely from the std macros.
Edited by Christos Anastopoulos