Christoph Lameter wrote:
> On Wed, 7 Dec 2005, Shailabh Nagar wrote:
> 
> 
>>+void getnstimestamp(struct timespec *ts)
> 
> 
> There is already getnstimeofday in the kernel.
> 
> 

Yes, and that function is being used within the getnstimestamp() being proposed.
However, John Stultz had advised that getnstimeofday could get affected by 
calls to
settimeofday and had recommended adjusting the getnstimeofday value with 
wall_to_monotonic.

John, could you elaborate ?

Thanks,
Shailabh


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to