1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-xray
Martin Pelikan ee48a509e2 [XRay] cache symbolized function names for a repeatedly queried function ID
Summary:
Processing 2 GB XRay traces with "llvm-xray convert -symbolize" needs to
go over each trace record and symbolize the function name refered to by
its ID.  Currently this happens by asking the LLVM symbolizer code every
single time.  A simple cache can save around 30 minutes of processing of
that trace.

llvm-xray's resident memory usage increased negligibly with this cache.

Reviewers: dberris

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D43896

llvm-svn: 326407
2018-03-01 01:59:24 +00:00
..
CMakeLists.txt
func-id-helper.cc [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
func-id-helper.h [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
llvm-xray.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
trie-node.h [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-account.cc [XRay] fix 99th percentile lookups by sorting the array correctly 2018-01-30 18:18:51 +00:00
xray-account.h
xray-color-helper.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-color-helper.h
xray-converter.cc [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-converter.h [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-extract.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-graph-diff.cc
xray-graph-diff.h
xray-graph.cc Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
xray-graph.h
xray-registry.cc
xray-registry.h
xray-stacks.cc [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00