2 Replies Latest reply: Dec 23, 2009 7:14 PM by jschellSomeoneStoleMyAlias RSS

    How to determine the core currently used?


      does anybody knows a Java SE6 method that gets the current processor number?
      It should run at least on WindowsXP with a dual core.
      I'm aware of the fact that the core currently used is a very ephemeral information. Nevertheless I want to verify whether assumptions about the scheduling are correct.
      All solutions without using JNI are welcome.

      Thanks in advance
      -- Thomas