It would be useful to have a framework for monitoring events: - show which events are happening - how long they take - latency to system event loop - time between invalidations and paints finishing
Created attachment 394303 [details] [diff] [review] Some rough work I have so far This reports all of the events that happen as well as the timer runnables. It currently uses backtrace_symbols() to map event handlers to symbol names. I have a LD_PRELOADable library that will make backtrace_symbols() much more useful then the glibc version. It uses the debug information to look up symbols and line numbers. I eventually plan to integrate this into the patch.
The member function pointer extraction code was inspired by this article http://www.codeproject.com/kb/cpp/FastDelegate.aspx
You need to log in before you can comment on or make changes to this bug.