Hello, I already know how to use the runtime method to get the number of available processors but what I need is how to control the number of processors to be used during each round of test or execution in a multicore environment.
Put differently, I want to experiment on one node of a multicore computer with 12processors, but I need to be able to specify at each round of the experiment (execution) how many processors should execute my threaded application. I need to be able to specify the use of 2 cpus, 4 cpus, 6 cpus,8 cpus, 10 cpus and 12 cpus.
Any suggestion will be welcome