return Available.getID() == ConvergingScheduler::TopQID;
}
+#ifndef NDEBUG
const char *getResourceName(unsigned PIdx) {
if (!PIdx)
return "MOps";
return SchedModel->getProcResource(PIdx)->Name;
}
+#endif
/// Get the number of latency cycles "covered" by the scheduled
/// instructions. This is the larger of the critical path within the zone
SUnit *pickOnlyChoice();
+#ifndef NDEBUG
void dumpScheduledState();
+#endif
};
private:
return NULL;
}
+#ifndef NDEBUG
// This is useful information to dump after bumpNode.
// Note that the Queue contents are more useful before pickNodeFromQueue.
void ConvergingScheduler::SchedBoundary::dumpScheduledState() {
<< (IsResourceLimited ? " - Resource" : " - Latency")
<< " limited.\n";
}
+#endif
void ConvergingScheduler::SchedCandidate::
initResourceDelta(const ScheduleDAGMI *DAG,