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
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
> >
>
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
>
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
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
-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
6 matches
Mail list logo