joyent/node — Issue #2817: os.cpus() doesnt give timings windows 7 64
Author: Nexum
Created: 2012-02-23 18:51:54+00:00
State: open

Hi,

I have the issue that os.cpus() returns this result on my windows 7 64bit system:

[ { model: 'Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz'
speed: 2673,
times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz'
speed: 2673,
times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz'
speed: 2673,
times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
{ model: 'Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz'
speed: 2673,
times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } } ]

as you can see all times are 0 :-(
this works fine on my linux system, same node version.

tested on v 0.6.11

- Nexum