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 time, gethrtime()
http://docs.sun.com/app/docs/doc/816-5180/gethrtime-9f?a=view
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to