mutter/clutter/glx
Robert Bragg 0057755854 profiling: Adds initial UProf support across clutter
UProf is a small library that aims to help applications/libraries provide
domain specific reports about performance.  It currently provides high
precision timer primitives (rdtsc on x86) and simple counters, the ability
to link statistics between optional components at runtime and makes report
generation easy.

This adds initial accounting for:
- Total mainloop time
- Painting
- Picking
- Layouting
- Idle time

The timing done by uprof is of wall clock time. It's not based on stochastic
samples we simply sample a counter at the start and end.  When dealing with
the complexities of GPU drivers and with various kinds of IO this form of
profiling can be quite enlightening as it will be able to represent where
your application is blocking unlike tools such as sysprof.

To enable uprof accounting you must configure Clutter with --enable-profile
and have uprof-0.2 installed from git://git.moblin.org/uprof

If you want to see a report of statistics when Clutter applications exit you
should export CLUTTER_PROFILE_OUTPUT_REPORT=1 before running them.

Just a final word of caution; this stuff is new and the manual nature of
adding uprof instrumentation means it is prone to some errors when modifying
code.  This just means that when you question strange results don't rule out
a mistake in the instrumentation.  Obviously though we hope the benfits out
weigh e.g.  by focusing on very key stats and by having automatic reporting.
2010-01-08 20:19:49 +00:00
..
clutter-backend-glx.c profiling: Adds initial UProf support across clutter 2010-01-08 20:19:49 +00:00
clutter-backend-glx.h Don't set the GLX_TRANSPARENT_TYPE attribute to choose an FBConfig 2010-01-07 15:58:53 +00:00
clutter-glx-texture-pixmap.c Fix handling of not-visible texture pixmaps 2009-06-15 11:29:37 +01:00
clutter-glx-texture-pixmap.h 2008-06-30 Matthew Allum <mallum@openedhand.com> 2008-06-30 14:36:49 +00:00
clutter-glx.h glx: Always request an ARGB visual 2009-12-01 16:25:54 +00:00
clutter-stage-glx.c glx: Always request an ARGB visual 2009-12-01 16:25:54 +00:00
clutter-stage-glx.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
Makefile.am Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00