I am running it on Intel x86 platform and the output of 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' is 3101000 3100000 2800000 2600000 2400000 2200000 2000000 1800000 1600000
--Thanks, Salman
On Friday, 20 June 2014, 10:26, Amit Kucheria amit.kucheria@linaro.org wrote: On Fri, Jun 20, 2014 at 9:47 AM, Salman Ahmed salmanyam@yahoo.com wrote:
Hello Amit,
I have pulled changes and run with your suggested following command sudo ./idlestat --trace -t 5 -f /tmp/myoutput -- top
But still it came up with the output without any frequency information.
What platform are you running this on? Is cpufreq enabled? What is the output of 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
?
Total trace buffer: 153896 kB Log is 4.999537 secs long with 702 events clusterA@state hits total(us) avg(us) min(us) max(us) C6-SNB 175 4964449.00 28368.28 0.00 183908.00 cpu0@state hits total(us) avg(us) min(us) max(us) C6-SNB 105 4995794.00 47578.99 49.00 223927.00 cpu0 wakeups name count irq040 eth0 39 cpu1@state hits total(us) avg(us) min(us) max(us) C1-SNB 5 852.00 170.40 41.00 446.00 C6-SNB 64 4996275.00 78066.80 113.00 323886.00 cpu1 wakeups name count irq018 ata_piix 14 cpu2@state hits total(us) avg(us) min(us) max(us) C1-SNB 35 9158.00 261.66 121.00 1396.00 C6-SNB 51 4969643.00 97443.98 51.00 323897.00 cpu2 wakeups name count cpu3@state hits total(us) avg(us) min(us) max(us) C1-SNB 4 383.00 95.75 26.00 129.00 C6-SNB 49 4997267.00 101985.04 67.00 319905.00 cpu3 wakeups name count
The problem probably is not in idlestat tool. There is no cpu_frequency line in the trace file.
-- Best Regards Salman Ahmed