mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
eliminate fp statistic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c30598bc3a
commit
4c7e227973
@ -37,8 +37,8 @@ using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
||||
static Statistic<double> efficiency
|
||||
("regalloc", "Ratio of intervals processed over total intervals");
|
||||
static Statistic<> NumIters
|
||||
("regalloc", "Number of iterations performed");
|
||||
static Statistic<> NumBacktracks
|
||||
("regalloc", "Number of times we had to backtrack");
|
||||
|
||||
@ -273,7 +273,7 @@ void RA::linearScan()
|
||||
DEBUG(printIntervals("inactive", inactive_.begin(), inactive_.end()));
|
||||
}
|
||||
numIntervals += li_->getNumIntervals();
|
||||
efficiency = double(numIterations) / double(numIntervals);
|
||||
NumIters += numIterations;
|
||||
|
||||
// expire any remaining active intervals
|
||||
for (IntervalPtrs::reverse_iterator
|
||||
|
Loading…
Reference in New Issue
Block a user