8 for (std::map<std::string, int>::const_iterator
it =
_apvmap.begin();
it !=
_apvmap.end();
it++) {
9 if (strstr(
it->first.c_str(),
partition.c_str()) ==
it->first.c_str() || strcmp(
partition.c_str(),
"All") == 0) {
12 }
else if (
phase !=
it->second) {
24 std::set<int> phasesset;
26 for (std::map<std::string, int>::const_iterator
it =
_apvmap.begin();
it !=
_apvmap.end();
it++) {
27 if (strstr(
it->first.c_str(),
partition.c_str()) ==
it->first.c_str() || strcmp(
partition.c_str(),
"Any") == 0) {
28 if (
it->second >= 0) {
29 phasesset.insert(
it->second);
36 for (std::set<int>::const_iterator
phase = phasesset.begin();
phase != phasesset.end(); ++
phase) {
std::map< std::string, int > _apvmap
const std::vector< int > getPhases(const std::string partition) const
const int getPhase(const std::string partition) const