Skip to content

Commit

Permalink
#43 Add hardware:branch-misses
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonk000 committed Mar 24, 2019
1 parent 18da040 commit 9631623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference_guide.md
Expand Up @@ -997,6 +997,7 @@ These are the pre-defined hardware events provided by the Linux kernel, as commo
- `cache-references`
- `cache-misses`
- `branch-instructions` or `branches`
- `branch-misses`
- `bus-cycles`
- `frontend-stalls`
- `backend-stalls`
Expand Down
1 change: 1 addition & 0 deletions src/list.h
Expand Up @@ -29,6 +29,7 @@ const std::vector<ProbeListItem> SW_PROBE_LIST = {
const std::vector<ProbeListItem> HW_PROBE_LIST = {
{ "backend-stalls", "", PERF_COUNT_HW_STALLED_CYCLES_BACKEND, 1000000 },
{ "branch-instructions", "branches", PERF_COUNT_HW_BRANCH_INSTRUCTIONS, 100000 },
{ "branch-misses", "", PERF_COUNT_HW_BRANCH_MISSES, 100000 },
{ "bus-cycles", "", PERF_COUNT_HW_BUS_CYCLES, 100000 },
{ "cache-misses", "", PERF_COUNT_HW_CACHE_MISSES, 1000000 },
{ "cache-references", "", PERF_COUNT_HW_CACHE_REFERENCES, 1000000 },
Expand Down

0 comments on commit 9631623

Please sign in to comment.