Hello Sachin,
Friday, December 23, 2005, 6:17:26 AM, you wrote:
S> Hi
S> I am looking for that which are the probes that gets fired if we need to
know the user routine time and wait time.
I''m not sure what you are looking for but probably you should use PID
provider. Something like:
pidXXXX::your_function:entry
{
self->t = timestamp;
self->vt = vtimestamp;
}
pidXXXX::you_function:return
/self->t/
{
@times[probefunc, "time"] = sum(timestamp - self->t);
@times[probefunc, "vtime"] = sum(vtimestamp - slef->vt);
self->t = 0;
self->vt = 0;
}
This will give you execution times of your function (and all functions
that are called within this function as well - simple modification and
you''ll get times only for that function excluding all calls to other).
--
Best regards,
Robert mailto:rmilkowski at task.gda.pl
http://milek.blogspot.com