Make performance_counter01 run default. This performance_counter01 case is to use perf_event_open() to test hardware CPU events.
Do not let performance_counter02 run defalult. This test need to know an upper bound on the number of hardware counters, which varies in different platforms. So if knowing this value, user can execute: ./performance_counter02 -C (upper bound) to run this test. Signed-off-by: Xiaoguang Wang <[email protected]> --- runtest/perfcounters | 3 +-- scenario_groups/default | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtest/perfcounters b/runtest/perfcounters index 73cd1d2..65d18e1 100644 --- a/runtest/perfcounters +++ b/runtest/perfcounters @@ -1,5 +1,4 @@ # Test some Basic Performance Counters performance_counter01 performance_counter01 -performance_counter02 performance_counter02 - +#performance_counter02 performance_counter02 diff --git a/scenario_groups/default b/scenario_groups/default index ff23c7c..ef597b5 100644 --- a/scenario_groups/default +++ b/scenario_groups/default @@ -26,3 +26,4 @@ commands hyperthreading kernel_misc modules +perfcounters -- 1.8.2.1 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
