Invoking 'ocount' and passing an events list that contains duplicate event names results in redundant data collection. See the example below:
ocount: Press Ctl-c or 'kill -SIGINT 27330' to stop counting
Current time (seconds since epoch): 1374756497
Event counts (scaled) for the whole system:
Event Count % time counted
PM_1PLUS_PPC_CMPL 9,286,283 83.09
PM_CYC 70,229,367 91.44
PM_INST_CMPL 20,358,612 85.88
PM_1PLUS_PPC_DISP 11,982,338 60.54
PM_RUN_INST_CMPL 8,737,812 82.36
PM_CYC 78,097,529 79.06
Probably easiest to simply store the events in a set instead of a vector.
Log in to post a comment.