aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/DataExtractor.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-02 17:49:51 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-04-02 17:49:51 +0000
commit8396e130427999c57422e52af3913eb8182847e5 (patch)
treee8a9130036428ccfa1754acaf0925569149d3168 /lib/Support/DataExtractor.cpp
parent146b8c212951b70906a1965125ee53448015e5d6 (diff)
Count processor resources individually in MachineTraceMetrics.
The new instruction scheduling models provide information about the number of cycles consumed on each processor resource. This makes it possible to estimate ILP more accurately than simply counting instructions / issue width. The functions getResourceDepth() and getResourceLength() now identify the limiting processor resource, and return a cycle count based on that. This gives more precise resource information, particularly in traces that use one resource a lot more than others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/DataExtractor.cpp')
0 files changed, 0 insertions, 0 deletions