From: Heiko Carstens Date: Mon, 22 Oct 2007 10:52:39 +0000 (+0200) Subject: [S390] Add per-cpu idle time / idle count sysfs attributes. X-Git-Tag: v2.6.24-rc1~60^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fae8b22d3e3e3a3d317a7746493997af02a3f35c;p=pandora-kernel.git [S390] Add per-cpu idle time / idle count sysfs attributes. Add two new sysfs entries per cpu: idle_count and idle_time. idle_count contains the number of times a cpu went into idle state. idle_time contains the time a cpu spent in idle state in microseconds. This can be used e.g. by powertop to tell how often idle state is entered and left. # cat /sys/devices/system/cpu/cpu0/idle_count 504 # cat /sys/devices/system/cpu/cpu0/idle_time 469734037 us Cc: Arjan van de Ven Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed