[RFC] rt-app: add script to generate small task workloads

2014-10-21 Thread pi-cheng.chen
Some examples to use the script to generate small tasks workloads: 1. to generate a workload with 4 threads, 10% load and 30ms period $ ./small_task_gen -t 4 -l 10 -p 3 2. to generate a workload with 3 threads, 15% load and random tick-aligned period $ ./small_task_gen -t 3 -l 15 -r --aligned

Re: [PATCH POWERTOP V4] devfreq: add devfreq devices stats support

2014-10-21 Thread Alexandra Yates
> add window to show frequency stats for devfreq devices > > Signed-off-by: Rajagopal Venkat > Signed-off-by: Sanjay Singh Rawat > --- > > v4 - remove resizing before freeing the vector > > v3 - remove unused variables, reduce array size to suitable value >- replace the inactive code block i

Re: [PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically

2014-10-21 Thread Pi-Cheng Chen
On 21 October 2014 21:49, Daniel Lezcano wrote: > On 10/21/2014 03:47 PM, Tuukka Tikkanen wrote: >> >> On Tue, Oct 21, 2014 at 3:42 PM, Daniel Lezcano >> wrote: >>> >>> On 10/04/2014 06:33 AM, pi-cheng.chen wrote: Initialize struct cpufreq_pstates with initial P-state of CPUs and >

Re: [PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically

2014-10-21 Thread Daniel Lezcano
On 10/21/2014 03:47 PM, Tuukka Tikkanen wrote: On Tue, Oct 21, 2014 at 3:42 PM, Daniel Lezcano wrote: On 10/04/2014 06:33 AM, pi-cheng.chen wrote: Initialize struct cpufreq_pstates with initial P-state of CPUs and allocate struct cpufreq_pstate dynamically when parsing trace file to solve the

Re: [PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically

2014-10-21 Thread Tuukka Tikkanen
On Tue, Oct 21, 2014 at 3:42 PM, Daniel Lezcano wrote: > On 10/04/2014 06:33 AM, pi-cheng.chen wrote: >> >> Initialize struct cpufreq_pstates with initial P-state of CPUs and >> allocate >> struct cpufreq_pstate dynamically when parsing trace file to solve the >> issue >> caused by missing "scalin

Re: [PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically

2014-10-21 Thread Daniel Lezcano
On 10/04/2014 06:33 AM, pi-cheng.chen wrote: Initialize struct cpufreq_pstates with initial P-state of CPUs and allocate struct cpufreq_pstate dynamically when parsing trace file to solve the issue caused by missing "scaling_avaialable_freqs" attr when using intel_pstate driver. Changes v2 to v3