Displaying 1 result from an estimated 1 matches for "menuconstruct".
2009 Sep 09
10
dtrace overhead and proper measuring technique
...it.
Now the question... Should I be looking at the elapsed time above in
the context of 0.9s or 17.9s?
Thanks, Joel
---
[1] sigcont.d
BEGIN
{
system("kill -CONT %d &\n", $target);
}
[2] menu-construct.d
BEGIN
{
self->ts = 0;
self->vts = 0;
}
pid$target::nsMenuX??MenuConstruct*:entry
{
self->ts = timestamp;
self->vts = vtimestamp;
}
pid$target::nsMenuX??MenuConstruct*:return
/self->ts/
{
this->ts = timestamp - self->ts;
this->vts = vtimestamp - self->vts;
@tsint = sum(this->ts / 1000000);
@tsfrac = sum(this->ts % 1000000);
@vtsin...