Diff of /pe_counting/ocount.cpp [44d156] .. [d840b9] Maximize Restore

  Switch to unified view

a/pe_counting/ocount.cpp b/pe_counting/ocount.cpp
...
...
73
vector<pid_t> threads;
73
vector<pid_t> threads;
74
vector<int> cpus;
74
vector<int> cpus;
75
string outfile;
75
string outfile;
76
bool separate_cpu;
76
bool separate_cpu;
77
bool separate_thread;
77
bool separate_thread;
78
vector<string> evts;
78
set<string> evts;
79
bool csv_output;
79
bool csv_output;
80
long display_interval;
80
long display_interval;
81
long num_intervals;
81
long num_intervals;
82
}
82
}
83
83
...
...
547
            break;
547
            break;
548
        }
548
        }
549
        case 'e':
549
        case 'e':
550
            event = strtok(optarg, ",");
550
            event = strtok(optarg, ",");
551
            do {
551
            do {
552
                ocount_options::evts.push_back(event);
552
                ocount_options::evts.insert(event);
553
            } while ((event = strtok(NULL, ",")));
553
            } while ((event = strtok(NULL, ",")));
554
            break;
554
            break;
555
        case 'f':
555
        case 'f':
556
            ocount_options::outfile = optarg;
556
            ocount_options::outfile = optarg;
557
            break;
557
            break;