diff options
author | Lalit Maganti <lalitm@google.com> | 2019-11-08 08:34:21 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-11-08 08:34:21 -0800 |
commit | 31b59abb3829e064980dd743ebc07e88f61a0a7a (patch) | |
tree | aa9e6da0a9011863bb26bf3f9e17ec6b6ec26750 | |
parent | a131c3d60cf95503c6f1813c026eb6b6d3a81d8f (diff) | |
parent | 202c12e4ab7fc1f24e0de1d7272e2f03be949f2d (diff) | |
download | perfetto-31b59abb3829e064980dd743ebc07e88f61a0a7a.tar.gz |
trace_processor: fix counter values best index logic
am: 202c12e4ab
Change-Id: Ic1f26b1c3e3f8e7c6ccb63668619e170216510b8
-rw-r--r-- | src/trace_processor/counter_values_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace_processor/counter_values_table.cc b/src/trace_processor/counter_values_table.cc index 0098b5293..7176fd392 100644 --- a/src/trace_processor/counter_values_table.cc +++ b/src/trace_processor/counter_values_table.cc @@ -53,7 +53,7 @@ int CounterValuesTable::BestIndex(const QueryConstraints& qc, } uint32_t CounterValuesTable::EstimateCost(const QueryConstraints& qc) { - if (HasEqConstraint(qc, "counter_id")) + if (HasEqConstraint(qc, "track_id")) return RowCount() / 100; return RowCount(); } |