diff options
Diffstat (limited to 'user_activity_benchmarks/collect_experiment_data_odd_even_session.sh')
-rwxr-xr-x | user_activity_benchmarks/collect_experiment_data_odd_even_session.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/user_activity_benchmarks/collect_experiment_data_odd_even_session.sh b/user_activity_benchmarks/collect_experiment_data_odd_even_session.sh index 9019f0d9..9d3f9554 100755 --- a/user_activity_benchmarks/collect_experiment_data_odd_even_session.sh +++ b/user_activity_benchmarks/collect_experiment_data_odd_even_session.sh @@ -34,6 +34,7 @@ SELECT replace(frame.function_name, \", \", \"; \") AS function, frame.filename AS file, frame.load_module_path AS dso, + SUM(frame.inclusive_count) AS inclusive_count, SUM(frame.inclusive_count)/ANY_VALUE(total.value) AS inclusive_count_fraction FROM $TABLE table, @@ -67,7 +68,7 @@ SELECT replace(frame.function_name, \", \", \"; \")) AS parent_child_functions, frame.filename AS child_function_file, frame.load_module_path AS child_function_dso, - SUM(frame.inclusive_count)/ANY_VALUE(total.value) AS inclusive_count_fraction + SUM(frame.inclusive_count)/ANY_VALUE(total.value) AS inclusive_count FROM $TABLE table, table.frame frame @@ -86,7 +87,7 @@ GROUP BY child_function_file, child_function_dso HAVING - inclusive_count_fraction > 0.0 + inclusive_count > 0.0 ORDER BY - inclusive_count_fraction DESC; + inclusive_count DESC; " | dremel --output=csv > "$PAIRWISE_INCLUSIVE_OUTPUT_FILE" |