Re: technical info needed

1999-12-12 Thread Julian Elischer
On Mon, 13 Dec 1999, Alfred Perlstein wrote: > > On Sun, 12 Dec 1999, Julian Elischer wrote: > > > On Mon, 13 Dec 1999, Chris Costello wrote: > > > > > On Mon, Dec 13, 1999, Ilia Chipitsine wrote: > > > > Is it called once an year or 50 times a second ? > > > > Is there a way how can I d

Re: technical info needed

1999-12-12 Thread Alfred Perlstein
On Sun, 12 Dec 1999, Julian Elischer wrote: > On Mon, 13 Dec 1999, Chris Costello wrote: > > > On Mon, Dec 13, 1999, Ilia Chipitsine wrote: > > > Is it called once an year or 50 times a second ? > > > Is there a way how can I determine it by myself ? > > > >Add a statement like > > >

Re: technical info needed

1999-12-12 Thread Julian Elischer
You can compile the kernel with -p -g and use the profiling. On Mon, 13 Dec 1999, Chris Costello wrote: > On Mon, Dec 13, 1999, Ilia Chipitsine wrote: > > Is it called once an year or 50 times a second ? > > Is there a way how can I determine it by myself ? > >Add a statement like >

Re: technical info needed

1999-12-12 Thread Kip Macy
It seems like using gprof would be a little bit more useful than potentially having something print to the screen 50k times. I guess printf would be fine if you only care if something is called a lot or not at all. -Kip On Mon, 13 Dec 199

Re: technical info needed

1999-12-12 Thread Chris Costello
On Mon, Dec 13, 1999, Ilia Chipitsine wrote: > Is it called once an year or 50 times a second ? > Is there a way how can I determine it by myself ? Add a statement like printf("somefunc() being called!\n"); to the top of the function you want to 'measure'. -- |Chris Costello

technical info needed

1999-12-12 Thread Ilia Chipitsine
-BEGIN PGP SIGNED MESSAGE- Dear hackers, How can I find how often is particular routine (say wdintr()) called. Is it called once an year or 50 times a second ? Is there a way how can I determine it by myself ? Regards, (îÁÉÌÕÞÛÉÅ ÐÏÖÅÌÁÎÉÑ) Ilia Chipitsine (éÌØÑ ûÉÐÉÃÉÎ) -BE