could you perhaps use dtrace?
I think it is a nanoseconds time you have there.
Henry
On Sat, Apr 19, 2008 at 1:50 AM, shri <[EMAIL PROTECTED]> wrote:
> what call to be used in kernel to measure time taken for a operation if
> time quantum i s smaller than tick(frequency).
> i tried using ddi_
shri wrote:
> what call to be used in kernel to measure time taken for a operation if time
> quantum i s smaller than tick(frequency).
> i tried using ddi_get_lbolt at time t1 and t2.(at time t1 operation started
> and t2 it finished) but it always gives me zero(t2-t1).
>
>
Try get hi-res
what call to be used in kernel to measure time taken for a operation if time
quantum i s smaller than tick(frequency).
i tried using ddi_get_lbolt at time t1 and t2.(at time t1 operation started
and t2 it finished) but it always gives me zero(t2-t1).
This message posted from opensolaris.org