IMPALA-3597: mislabelled cache levels on debug webpage

Change-Id: I638f518b6f460bea6724c1b1efd4c4aefecf5219
Reviewed-on: http://gerrit.cloudera.org:8080/3210
Reviewed-by: Tim Armstrong <[email protected]>
Reviewed-by: Dan Hecht <[email protected]>
Tested-by: Internal Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/8d2320df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/8d2320df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/8d2320df

Branch: refs/heads/master
Commit: 8d2320df26febd10f48792c72da91e086de9ee66
Parents: 3a4a775
Author: Tim Armstrong <[email protected]>
Authored: Tue May 24 23:13:46 2016 -0700
Committer: Tim Armstrong <[email protected]>
Committed: Tue May 31 23:32:10 2016 -0700

----------------------------------------------------------------------
 be/src/util/cpu-info.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/8d2320df/be/src/util/cpu-info.cc
----------------------------------------------------------------------
diff --git a/be/src/util/cpu-info.cc b/be/src/util/cpu-info.cc
index bb038e1..4ead44f 100644
--- a/be/src/util/cpu-info.cc
+++ b/be/src/util/cpu-info.cc
@@ -189,10 +189,10 @@ string CpuInfo::DebugString() {
   string L1 = Substitute("L1 Cache: $0 (Line: $1)",
       PrettyPrinter::Print(cache_sizes[L1_CACHE], TUnit::BYTES),
       PrettyPrinter::Print(cache_line_sizes[L1_CACHE], TUnit::BYTES));
-  string L2 = Substitute("L1 Cache: $0 (Line: $1)",
+  string L2 = Substitute("L2 Cache: $0 (Line: $1)",
       PrettyPrinter::Print(cache_sizes[L2_CACHE], TUnit::BYTES),
       PrettyPrinter::Print(cache_line_sizes[L2_CACHE], TUnit::BYTES));
-  string L3 = Substitute("L1 Cache: $0 (Line: $1)",
+  string L3 = Substitute("L3 Cache: $0 (Line: $1)",
       PrettyPrinter::Print(cache_sizes[L3_CACHE], TUnit::BYTES),
       PrettyPrinter::Print(cache_line_sizes[L3_CACHE], TUnit::BYTES));
   stream << "Cpu Info:" << endl

Reply via email to