Re: optimizing NOP emissions (Re: [Nautilus-list] nautilus & signals)



On 12 Apr 2002, Havoc Pennington wrote:

> 
> Michael Meeks <michael ximian com> writes: 
> > 	Ok; so here is my data - re-harvested just now ... 
> > 
> > export GOBJECT_DEBUG=signals 
> > nautilus 2>/tmp/nau.log 
> > cat /tmp/nau.log | sed 's/[^ ]* //' | sed 's/(.*//' | sort | uniq -c |
> > sort -n > /tmp/nau2.log 
> > 
> >     228 GtkWindow::notify 
> >     244 FMIconContainer::get-stored-icon-position 
> >     244 FMIconContainer::icon-added 
> >     244 FMIconView::add-file 
> 
> Need to hack GOBJECT_DEBUG=signals to specify whether a signal had
> handlers or no...

or emission hooks or class closures, ...
i.e. you basically want the return value from signal_check_skip_emission()
without the debug part.

> 
> Havoc
> 

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]