[PATCH] D60404: Improve hashing for time profiler
Takuto Ikuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 07:17:00 PDT 2019
takuto.ikuta added inline comments.
================
Comment at: llvm/lib/Support/TimeProfiler.cpp:124
+ for (const auto &E : CountAndTotalPerName) {
+ SortedTotals.push_back(std::pair<std::string, CountAndDurationType>(
+ E.getKey(), E.getValue()));
----------------
use emplace_back here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60404/new/
https://reviews.llvm.org/D60404
More information about the llvm-commits
mailing list