2 Replies Latest reply on Dec 24, 2009 1:14 AM by jschellSomeoneStoleMyAlias

    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