Kok, Auke wrote: > Madhu Sudan Hari wrote: >> Hi there, >> >> I need to collect some statistics using PowerTop. I was wondering if there is >> any benchmarking software that mimics the workload of a normal user like the >> Mobilemark for windows. I have to study the C-state characteristics of the >> processor while running this workload. ( as to in which C state and P state >> the >> processor is spending most of its time). > > > You can run powertop in batch mode which will allow you to log and later > collect > the output from powertop. For anything more specific you're probably better > off > writing something that parses cat /proc/timer_stats (and various sysfs files > for > the CPU states) etc. itself. >
excuse me for completely stepping over the second part of your question: a workload simulator. I've not seen a comprehensive tool for this that is widely accepted unfortunately. Due to the variety of scripting tools available we see a lot of people making stuff on their own to do this. It's very easy to have firefox load a web page every 10 seconds for instance, and couple this to reading the above sysfs/procfs files to extract the data needed. Cheers Auke _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
