lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ktimer / -rt9 (+custom) monotonic_clock going backwards.

* Steven Rostedt <rostedt@goodmis.org> wrote:

> > I just switched cycle_t to u64 and hackbench no longer makes the time go
> > backwards.
> >
> > John, would this cause any problems to keep cycle_t at s64?
>
> I mean at u64.

ugh. There's both cycles_t and cycle_t. We should unify the two and it
should be 64-bit. The faster systems get, the sooner the 32-bit counter
overflows. 64-bit systems are keeping 32-bit compatibility for quite
some time to come. So with an 8GHz CPU the 32-bit cycle_t would wrap in
like 500 msecs, way too fast to rely on ... (even with a 4GHz CPUs it's
only one second.)

i've made cycle_t u64 and have uploaded -rt14.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-20 17:57    [W:0.153 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site