lkml.org 
[lkml]   [2012]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perf/core] perf/x86: Add generic Intel uncore PMU support
On 06/21/2012 04:18 PM, Andrew Morton wrote:
>>
>> So why is ktime_t unsigned?
>
> err, actually, it isn't. But lots of the APIs to manipulate ktime_t
> use u64. Reason?
>
> I do agree that time quantities should be signed.

No idea... probably because when representing an actual wall time since
the POSIX epoch that can happen during the poweron time on the system,
the number will be positive since the POSIX epoch predates Linux.

-hpa



\
 
 \ /
  Last update: 2012-06-22 01:41    [from the cache]
©2003-2011 Jasper Spaans