From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2005-11-15 10:40:41
I've been profiling an application here where I work, that uses the
logging library from John Torjo. With the logging disabled and using
LOG(logging_name) << (whatever to log) << ...
The profiler shows that operator<< is using considerable CPU time
(something like 10% of the application CPU time),
so it seems that the current approach isnt sufficient.
I'll probably need to create a macro that takes the logger and what to
be logged and use somekind of if, just like the disabled cout example.
-- Felipe Magno de Almeida Developer from synergy and Computer Science student from State University of Campinas(UNICAMP). Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br "There is no dark side of the moon really. Matter of fact it's all dark."
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk