mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 03:59:12 +00:00
Make sure to use the TimerGroup that we created!
llvm-svn: 3995
This commit is contained in:
parent
10fd9ad81e
commit
9a8022871b
@ -100,7 +100,7 @@ public:
|
||||
if (dynamic_cast<AnalysisResolver*>(P)) return;
|
||||
std::map<Pass*, Timer>::iterator I = TimingData.find(P);
|
||||
if (I == TimingData.end())
|
||||
I = TimingData.insert(std::make_pair(P, Timer(P->getPassName()))).first;
|
||||
I=TimingData.insert(std::make_pair(P, Timer(P->getPassName(), TG))).first;
|
||||
I->second.startTimer();
|
||||
}
|
||||
void passEnded(Pass *P) {
|
||||
|
Loading…
Reference in New Issue
Block a user