diff options
author | Evelina Dumitrescu <evelinad@google.com> | 2016-09-28 21:23:41 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-01 18:13:43 -0800 |
commit | e93f47d88b6af945db2953f5663a591b9994a92c (patch) | |
tree | 257a8156e4c170fa382f0e42a865a2e14174f79a | |
parent | bf687a5ce7196c72ecf7d69b730658f4f2f2672a (diff) | |
download | toolchain-utils-e93f47d88b6af945db2953f5663a591b9994a92c.tar.gz |
user_activity: Updated the extracted fields from the data collection scripts.
Added the inclusive count fields for the inclusive count statistics.
Renamed inclusive_count_fraction to inclusive_count for the pairwise
inclusive statistics.
BUG=None
TEST=None
Change-Id: Iac7d9a55443448ab32765039803a9e3e069c49ac
Reviewed-on: https://chrome-internal-review.googlesource.com/291203
Reviewed-by: George Burgess <gbiv@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Evelina Dumitrescu <evelinad@google.com>
Commit-Queue: Evelina Dumitrescu <evelinad@google.com>
Tested-by: Evelina Dumitrescu <evelinad@google.com>
Reviewed-on: https://chromium-review.googlesource.com/435913
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
-rwxr-xr-x | user_activity_benchmarks/collect_experiment_data.sh | 7 | ||||
-rwxr-xr-x | user_activity_benchmarks/collect_experiment_data_odd_even_session.sh | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/user_activity_benchmarks/collect_experiment_data.sh b/user_activity_benchmarks/collect_experiment_data.sh index 8ba0852b..78677771 100755 --- a/user_activity_benchmarks/collect_experiment_data.sh +++ b/user_activity_benchmarks/collect_experiment_data.sh @@ -30,6 +30,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, @@ -64,7 +65,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 @@ -82,7 +83,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" 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" |