forked from OSchip/llvm-project
[llvm-exegesis] Analysis: show debug string instead of raw key if provided.
Reviewers: gchatelet Subscribers: tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D47315 llvm-svn: 333175
This commit is contained in:
parent
42abe419e2
commit
b1f1b50da9
|
@ -182,7 +182,10 @@ void Analysis::printSchedClassClustersHtml(std::vector<size_t> PointIds,
|
|||
OS << "<tr><th>ClusterId</th><th>Opcode/Config</th>";
|
||||
for (const auto &Measurement : Points[PointIds[0]].Measurements) {
|
||||
OS << "<th>";
|
||||
writeEscaped<kEscapeHtml>(OS, Measurement.Key);
|
||||
if (Measurement.DebugString.empty())
|
||||
writeEscaped<kEscapeHtml>(OS, Measurement.Key);
|
||||
else
|
||||
writeEscaped<kEscapeHtml>(OS, Measurement.DebugString);
|
||||
OS << "</th>";
|
||||
}
|
||||
OS << "</tr>";
|
||||
|
|
Loading…
Reference in New Issue