Bernardo Innocenti wrote:
> Aleph, could you post an oprofile of Sugar switching between zoom levels
> in both 16bpp and 24bpp?  Doing it manually by pressing F1 to F4 would be
> good enough for me: I just want to get an idea of where we spend the time.
> Of course, X, amd_drv, pixman and cairo need to be built with -g.

Here are the oprofile results while switching between the 4 Sugar zoom levels
for sixty seconds, with the journal displaying past activities at the 4th level.
Unfortunately the oprofile callgraph feature doesn't work on the Geode, but I 
hope
these data are of some use anyway.


CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
          TIMER:0|
  samples|      %|
------------------
     2936 47.6082 python
	          TIMER:0|
	  samples|      %|
	------------------
	     1543 52.5545 libpython2.5.so.1.0
	      594 20.2316 libcairo.so.2.11.5
	      276  9.4005 libc-2.6.so
	      116  3.9510 libgobject-2.0.so.0.1200.13
	       79  2.6907 libglib-2.0.so.0.1200.13
	       68  2.3161 libpangoft2-1.0.so.0.1600.4
	       62  2.1117 libpthread-2.6.so
	       41  1.3965 libpango-1.0.so.0.1600.4
	       31  1.0559 libgtk-x11-2.0.so.0.1000.14
	       24  0.8174 libgdk-x11-2.0.so.0.1000.14
	       15  0.5109 libfreetype.so.6.3.15
	       13  0.4428 libhippocanvas-1.so.0.0.0
	       12  0.4087 libX11.so.6.2.0
	       10  0.3406 _gobject.so
	        9  0.3065 librsvg-2.so.2.16.1
	        8  0.2725 libgthread-2.0.so.0.1200.13
	        6  0.2044 libpangocairo-1.0.so.0.1600.4
	        5  0.1703 anon (tgid:2962 range:0xb7fc7000-0xb7fc8000)
	        5  0.1703 libm-2.6.so
	        5  0.1703 libXrender.so.1.3.0
	        5  0.1703 hippo.so
	        3  0.1022 libdbus-1.so.3.2.0
	        3  0.1022 _cairo.so
	        1  0.0341 libwnck-1.so.18.2.10
	        1  0.0341 libxml2.so.2.6.29
	        1  0.0341 _gtk.so
     2645 42.8896 no-vmlinux
      454  7.3618 Xorg
	          TIMER:0|
	  samples|      %|
	------------------
	      202 44.4934 libpixman-1.so.0.9.5
	       84 18.5022 amd_drv.so
	       82 18.0617 Xorg
	       42  9.2511 libexa.so
	       29  6.3877 libc-2.6.so
	       12  2.6432 libfb.so
	        2  0.4405 libextmod.so
	        1  0.2203 anon (tgid:2942 range:0xb7f83000-0xb7f84000)

...

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name                 symbol name
2645     42.8896  no-vmlinux               no-vmlinux               (no symbols)
1543     25.0203  libpython2.5.so.1.0      python                   (no symbols)
116       1.8810  libgobject-2.0.so.0.1200.13 python                   (no symbols)
114       1.8485  libpixman-1.so.0.9.5     Xorg                     pixman_rasterize_edges
79        1.2810  libglib-2.0.so.0.1200.13 python                   (no symbols)
68        1.1026  libpangoft2-1.0.so.0.1600.4 python                   (no symbols)
56        0.9081  amd_drv.so               Xorg                     gp_color_bitmap_to_screen_blt
53        0.8594  libpixman-1.so.0.9.5     Xorg                     pixman_fill
47        0.7621  libcairo.so.2.11.5       python                   fbRasterizeEdges
46        0.7459  libc-2.6.so              python                   _int_malloc
46        0.7459  libc-2.6.so              python                   memcpy
41        0.6648  libpango-1.0.so.0.1600.4 python                   (no symbols)
39        0.6324  libcairo.so.2.11.5       python                   _PointDistanceSquaredToSegment
35        0.5675  libc-2.6.so              python                   __ctype_b_loc
34        0.5513  libc-2.6.so              bash                     __gconv_transform_utf8_internal
31        0.5027  libgtk-x11-2.0.so.0.1000.14 python                   (no symbols)
26        0.4216  bash                     bash                     (no symbols)
25        0.4054  libcairo.so.2.11.5       python                   _cairo_bentley_ottmann_tessellate_polygon
24        0.3892  libgdk-x11-2.0.so.0.1000.14 python                   (no symbols)
23        0.3730  libc-2.6.so              bash                     mbrtowc
23        0.3730  libcairo.so.2.11.5       python                   _cairo_bo_event_queue_insert_if_intersect_below_current_y
20        0.3243  libc-2.6.so              python                   _int_free
20        0.3243  libc-2.6.so              python                   msort_with_tmp
20        0.3243  libpthread-2.6.so        python                   pthread_mutex_lock
19        0.3081  libcairo.so.2.11.5       python                   __divdi3
18        0.2919  libc-2.6.so              python                   free
18        0.2919  libcairo.so.2.11.5       python                   _cairo_pixman_composite_solid_mask_nx8x8888mmx
18        0.2919  libcairo.so.2.11.5       python                   _cairo_pixman_render_sample_floor_y
18        0.2919  libcairo.so.2.11.5       python                   _cairo_uint64x64_128_mul
17        0.2757  libc-2.6.so              python                   malloc
17        0.2757  libcairo.so.2.11.5       python                   _cairo_fixed_to_double
16        0.2594  libcairo.so.2.11.5       python                   cairo_bo_event_compare_pointers
15        0.2432  libfreetype.so.6.3.15    python                   (no symbols)
13        0.2108  amd_drv.so               Xorg                     gp_wait_until_idle
13        0.2108  libc-2.6.so              python                   memset
13        0.2108  libhippocanvas-1.so.0.0.0 python                   (no symbols)
12        0.1946  libX11.so.6.2.0          python                   (no symbols)
12        0.1946  libcairo.so.2.11.5       python                   _RenderEdgeMultiInit
12        0.1946  libcairo.so.2.11.5       python                   __i686.get_pc_thunk.bx
12        0.1946  libcairo.so.2.11.5       python                   _cairo_spline_decompose_into
11        0.1784  libcairo.so.2.11.5       python                   _cairo_bo_edge_end_trap
11        0.1784  libcairo.so.2.11.5       python                   _cairo_skip_list_insert
11        0.1784  libcairo.so.2.11.5       python                   _cairo_slope_compare
11        0.1784  libcairo.so.2.11.5       python                   _cairo_uint128_rsl
11        0.1784  libpthread-2.6.so        python                   __pthread_mutex_unlock_usercnt
10        0.1622  _gobject.so              python                   (no symbols)
10        0.1622  libc-2.6.so              python                   __i686.get_pc_thunk.bx
10        0.1622  libcairo.so.2.11.5       python                   _cairo_int64x64_128_mul
10        0.1622  libcairo.so.2.11.5       python                   _cairo_skip_list_delete_given
9         0.1459  libc-2.6.so              python                   __i686.get_pc_thunk.cx
9         0.1459  libcairo.so.2.11.5       python                   __udivdi3
9         0.1459  libcairo.so.2.11.5       python                   _cairo_uint64_divrem
9         0.1459  librsvg-2.so.2.16.1      python                   (no symbols)
8         0.1297  libcairo.so.2.11.5       python                   __umoddi3
8         0.1297  libexa.so                Xorg                     exaComposite
8         0.1297  libgthread-2.0.so.0.1200.13 python                   (no symbols)
8         0.1297  libpthread-2.6.so        python                   pthread_getspecific
7         0.1135  libcairo.so.2.11.5       python                   _cairo_uint128_sub
...
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
          TIMER:0|
  samples|      %|
------------------
     3144 50.7834 python
	          TIMER:0|
	  samples|      %|
	------------------
	     1663 52.8944 libpython2.5.so.1.0
	      595 18.9249 libcairo.so.2.11.5
	      290  9.2239 libc-2.6.so
	      130  4.1349 libgobject-2.0.so.0.1200.13
	       99  3.1489 libglib-2.0.so.0.1200.13
	       89  2.8308 libpangoft2-1.0.so.0.1600.4
	       80  2.5445 libpthread-2.6.so
	       55  1.7494 libpango-1.0.so.0.1600.4
	       26  0.8270 libgtk-x11-2.0.so.0.1000.14
	       21  0.6679 libhippocanvas-1.so.0.0.0
	       19  0.6043 libgdk-x11-2.0.so.0.1000.14
	       14  0.4453 librsvg-2.so.2.16.1
	       10  0.3181 libX11.so.6.2.0
	       10  0.3181 libfreetype.so.6.3.15
	        7  0.2226 libXrender.so.1.3.0
	        5  0.1590 libpangocairo-1.0.so.0.1600.4
	        4  0.1272 libdbus-1.so.3.2.0
	        4  0.1272 libgthread-2.0.so.0.1200.13
	        4  0.1272 libm-2.6.so
	        4  0.1272 _gobject.so
	        3  0.0954 libxml2.so.2.6.29
	        3  0.0954 _cairo.so
	        2  0.0636 anon (tgid:3326 range:0xb7f98000-0xb7f99000)
	        2  0.0636 libfontconfig.so.1.2.0
	        2  0.0636 hippo.so
	        1  0.0318 libsugar.so
	        1  0.0318 libwnck-1.so.18.2.10
	        1  0.0318 _gtk.so
     2400 38.7660 no-vmlinux
      510  8.2378 Xorg
	          TIMER:0|
	  samples|      %|
	------------------
	      186 36.4706 libpixman-1.so.0.9.5
	      148 29.0196 amd_drv.so
	       85 16.6667 Xorg
	       44  8.6275 libexa.so
	       33  6.4706 libc-2.6.so
	        5  0.9804 libfb.so
	        3  0.5882 libextmod.so
	        3  0.5882 mouse_drv.so
	        2  0.3922 anon (tgid:3307 range:0xb7f7e000-0xb7f7f000)
	        1  0.1961 librt-2.6.so

...

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name                 symbol name
2400     38.7660  no-vmlinux               no-vmlinux               (no symbols)
1663     26.8616  libpython2.5.so.1.0      python                   (no symbols)
130       2.0998  libgobject-2.0.so.0.1200.13 python                   (no symbols)
103       1.6637  libpixman-1.so.0.9.5     Xorg                     pixman_rasterize_edges
99        1.5991  libglib-2.0.so.0.1200.13 python                   (no symbols)
89        1.4376  libpangoft2-1.0.so.0.1600.4 python                   (no symbols)
69        1.1145  amd_drv.so               Xorg                     gp_wait_until_idle
63        1.0176  libcairo.so.2.11.5       python                   fbRasterizeEdges
60        0.9691  amd_drv.so               Xorg                     gp_color_bitmap_to_screen_blt
55        0.8884  libpango-1.0.so.0.1600.4 python                   (no symbols)
53        0.8561  libpixman-1.so.0.9.5     Xorg                     pixman_fill
50        0.8076  libc-2.6.so              python                   memcpy
47        0.7592  libc-2.6.so              python                   _int_malloc
47        0.7592  libcairo.so.2.11.5       python                   _PointDistanceSquaredToSegment
39        0.6299  libc-2.6.so              python                   msort_with_tmp
36        0.5815  libc-2.6.so              bash                     __gconv_transform_utf8_internal
31        0.5007  libc-2.6.so              python                   __ctype_b_loc
31        0.5007  libpthread-2.6.so        python                   pthread_mutex_lock
29        0.4684  libcairo.so.2.11.5       python                   _cairo_bentley_ottmann_tessellate_polygon
26        0.4200  libc-2.6.so              bash                     mbrtowc
26        0.4200  libgtk-x11-2.0.so.0.1000.14 python                   (no symbols)
23        0.3715  libcairo.so.2.11.5       python                   _cairo_uint64x64_128_mul
21        0.3392  libhippocanvas-1.so.0.0.0 python                   (no symbols)
20        0.3230  libc-2.6.so              python                   malloc
19        0.3069  libcairo.so.2.11.5       python                   _cairo_fixed_to_double
19        0.3069  libgdk-x11-2.0.so.0.1000.14 python                   (no symbols)
18        0.2907  libc-2.6.so              python                   _int_free
17        0.2746  bash                     bash                     (no symbols)
17        0.2746  libc-2.6.so              python                   __i686.get_pc_thunk.cx
16        0.2584  libcairo.so.2.11.5       python                   cairo_bo_event_compare_pointers
15        0.2423  libc-2.6.so              python                   memset
15        0.2423  libcairo.so.2.11.5       python                   _cairo_spline_decompose_into
14        0.2261  libpthread-2.6.so        python                   __pthread_mutex_unlock_usercnt
14        0.2261  librsvg-2.so.2.16.1      python                   (no symbols)
13        0.2100  libc-2.6.so              python                   free
13        0.2100  libcairo.so.2.11.5       python                   __divdi3
13        0.2100  libcairo.so.2.11.5       python                   _cairo_pixman_composite_solid_mask_nx8x8888mmx
13        0.2100  libcairo.so.2.11.5       python                   _cairo_skip_list_insert
12        0.1938  libcairo.so.2.11.5       python                   __i686.get_pc_thunk.bx
12        0.1938  libcairo.so.2.11.5       python                   _cairo_bo_event_queue_insert_if_intersect_below_current_y
11        0.1777  libcairo.so.2.11.5       python                   _cairo_bo_edge_end_trap
11        0.1777  libcairo.so.2.11.5       python                   _cairo_bo_sweep_line_validate
11        0.1777  libcairo.so.2.11.5       python                   _cairo_traps_add_trap_from_points
10        0.1615  ld-2.6.so                bash                     _dl_relocate_object
10        0.1615  libX11.so.6.2.0          python                   (no symbols)
10        0.1615  libcairo.so.2.11.5       python                   _RenderEdgeMultiInit
10        0.1615  libcairo.so.2.11.5       python                   __umoddi3
10        0.1615  libcairo.so.2.11.5       python                   _cairo_slope_compare
10        0.1615  libcairo.so.2.11.5       python                   _cairo_uint128_rsl
10        0.1615  libfreetype.so.6.3.15    python                   (no symbols)
9         0.1454  libcairo.so.2.11.5       python                   _cairo_uint64_divrem
8         0.1292  libpthread-2.6.so        python                   pthread_getspecific
7         0.1131  libXrender.so.1.3.0      python                   (no symbols)
7         0.1131  libc-2.6.so              Xorg                     _int_free
7         0.1131  libc-2.6.so              python                   malloc_consolidate
7         0.1131  libcairo.so.2.11.5       python                   _cairo_skip_list_delete_given
7         0.1131  libpthread-2.6.so        python                   pthread_mutex_unlock
...
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to