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

Switch to side-by-side view

--- a/pe_counting/ocount.cpp
+++ b/pe_counting/ocount.cpp
@@ -75,7 +75,7 @@
 string outfile;
 bool separate_cpu;
 bool separate_thread;
-vector<string> evts;
+set<string> evts;
 bool csv_output;
 long display_interval;
 long num_intervals;
@@ -549,7 +549,7 @@
 		case 'e':
 			event = strtok(optarg, ",");
 			do {
-				ocount_options::evts.push_back(event);
+				ocount_options::evts.insert(event);
 			} while ((event = strtok(NULL, ",")));
 			break;
 		case 'f':