lkml.org 
[lkml]   [2000]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Use of TSC with SMP and different CPU's
Boris Okun wrote:
>
> But how do I do that, i.e. how to to read tsc of another processor? I

You would have to send an interprocessor interrupt; see the IPI
code in arch/i386/kernel/smp.c.


> asked this question many times, but the only answer I got is that I
> don't wanna do it, and I really do.

well, simply scaling down the counter values on the faster cpu to
match the slower one seems like an obvious solution...


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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.057 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site