lkml.org 
[lkml]   [2010]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [KVM timekeeping 17/35] Implement getnsboottime kernel API
On 08/20/2010 03:04 PM, john stultz wrote:
> On Fri, 2010-08-20 at 14:52 -1000, Zachary Amsden wrote:
>
>> I think gettimefromboot_ns() is a good descriptive name, but slightly
>> too long - it would ruin my indentation. Perhaps getrealtime_ns()?
>>
> Sigh... So getrealtime_ns would probably be confused with
> CLOCK_REALTIME, which is wall time. :P
>
> At this point it feels too nitpicky to suggest anything else, so go
> ahead and use boottime_ns and we'll refine things if anyone actually
> trips up on it.
>

As long as the prototype is adequately commented, there needn't be any
confusion ;)

Zach


\
 
 \ /
  Last update: 2010-08-21 03:25    [W:0.049 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site