On Fri, 2009-04-17 at 19:12 +0530, Poornima Nayak wrote:
> CPU consolidation testcase is modified such that workload is not passed as
> input to the testcase. Based on sched_mc input corresponding workload is
> triggered.
> 
> Signed-off-by: poornima nayak <[email protected]>

Thanks.

Regards--
Subrata

> 
> 
> diff -uprN ltp_orig/testcases/kernel/power_management/cpu_consolidation.py 
> ltp/testcases/kernel/power_management/cpu_consolidation.py
> --- ltp_orig/testcases/kernel/power_management/cpu_consolidation.py   
> 2009-04-17 16:32:36.000000000 -0400
> +++ ltp/testcases/kernel/power_management/cpu_consolidation.py        
> 2009-04-17 16:56:37.000000000 -0400
> @@ -16,8 +16,6 @@ __author__ = "Poornima Nayak <mpna...@li
>  if __name__ == "__main__":
>      usage = "-w"
>      parser = OptionParser(usage)
> -    parser.add_option("-w", "--workload", dest="workload",
> -        help="Test name that has be triggered")
>      parser.add_option("-c", "--mc_level", dest="mc_level",
>          help="Sched mc power saving value 0/1/2")
>      parser.add_option("-t", "--smt_level", dest="smt_level",
> @@ -38,15 +36,15 @@ if __name__ == "__main__":
>                  # Trigger ebizzy with 2 threads only to verify logical CPU
>                  # consolidation
>                  test_thread_consld = 1
> -                trigger_workld(options.workload, test_thread_consld)
> +                trigger_workld(options.mc_level, test_thread_consld)
>                  generate_report()
>                  validate_cpu_consolidation(options.mc_level, 
> options.smt_level)
>                  test_thread_consld = 0
>              else:
>                  print "INFO: No Hyper-threading support in this machine"
>                  sys.exit(0)
> -        
> -        trigger_workld(options.workload, test_thread_consld)
> +    
> +        trigger_workld(options.mc_level, test_thread_consld)
>          generate_report()
>          validate_cpu_consolidation(options.mc_level, options.smt_level)
>          sys.exit(0)
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to