Skip to content

Commit

Permalink
toplev: Define print_error in slm model
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Jul 12, 2015
1 parent 8cb4136 commit 3872c9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slm_ratios.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Please see http://ark.intel.com for more details on these CPUs.
#

print_error = lambda msg: False

# Instructions Per Cycle
def IPC(EV, level):
return EV("INST_RETIRED.ANY", level) / EV("cycles", 1)
Expand Down

0 comments on commit 3872c9f

Please sign in to comment.