Use optimized hashing while writing time trace by join two hashes to one.
Used for -ftime-trace option.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
124 ↗ | (On Diff #194124) | use emplace_back here? |
Comment Actions
Updated, push_back() -> emplace_back()
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
124 ↗ | (On Diff #194124) | Yes, thanks. |
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
150 ↗ | (On Diff #194145) | better to include header for StringMap? |
Comment Actions
Updated, added header for StringMap
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
150 ↗ | (On Diff #194145) | Yes, thanks. |
Comment Actions
LGTM with nit.
But I hope rnk take a look.
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
137 ↗ | (On Diff #194242) | I prefer to reuse result of lookup for map here in L139. |
llvm/lib/Support/TimeProfiler.cpp | ||
---|---|---|
137 ↗ | (On Diff #194242) | Ok. |