CVSROOT: /cvs/directfb
Module name: linux-fusion
Changes by: dok 20041114 06:10:38
Modified files:
linux/drivers/char/fusion: entries.c entries.h fusiondev.c
property.c skirmish.c
linux/include/linux: fusion.h
Log message:
API version is 1.1 now.
Older binaries compiled with the 1.0 API should work with a new 1.1 module.
The generic fusion_entries_read_proc() prints the generic entry information,
while the specific implementation can add further information like lock status.
Take a timestamp whenever an entry is locked (each access) and show the
difference between that and now in the proc view.
his doesn't use the still too expensive do_gettimeofday() which produces
10% overhead here. Instead, just copy the global "struct timeval xtime".
Added FUSION_ENTRY_SET_INFO and FUSION_ENTRY_GET_INFO to store/retrieve
meta information about an entry. Right now there's just a name to set.
This is the full output while running XDirectFB (and some clients)
along with 2x DFBTerm, df_cpuload, df_netload and df_dioload:
: [EMAIL PROTECTED] cat /proc/fusion/0/skirmishs
: 3 ms ( 5544) 0x00000014 Layer Context
: 13 ms ( 5544) 0x0000000b Surface Manager
: 13 ms ( 5544) 0x00000002 Fusion Reactor Globals
: 24 ms ( 5544) 0x00000015 Layer Region
: 321.2 s ( 5544) 0x00000009 Clipboard Core
: 326.3 s ( 5544) 0x00000000 Shared Memory Pool
: 681.0 s ( 5544) 0x00000007 Surface Pool
: 681.5 s ( 5544) 0x00000013 UniQuE Window Pool
: 681.5 s ( 5544) 0x00000008 Window Pool
: 0.2 h ( 5544) 0x0000000e Display Layer 0
: 0.2 h ( 5544) 0x00000003 Arena 'DirectFB/Core'
: 0.2 h ( 5544) 0x00000001 Fusion Arenas
: 0.3 h ( 5544) 0x00000012 UniQuE Context Pool
: 0.3 h ( 5544) 0x00000005 Layer Region Pool
: 0.3 h ( 5544) 0x00000004 Layer Context Pool
: 0.3 h ( 5544) 0x00000011 Display Layer 3
: 0.3 h ( 5544) 0x00000010 Display Layer 2
: 0.3 h ( 5544) 0x0000000f Display Layer 1
: 0.3 h ( 5544) 0x0000000d Screen 1
: 0.3 h ( 5544) 0x0000000c Screen 0
: 0.3 h ( 5544) 0x0000000a Colorhash Core
: 0.3 h ( 5544) 0x00000006 Palette Pool
Added ":" to avoid white space stripping at the front of each line by logmail.