Skip to content

Instantly share code, notes, and snippets.

@dragos
Created August 8, 2017 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dragos/00910a61675e97ed8525139240a395f9 to your computer and use it in GitHub Desktop.
Save dragos/00910a61675e97ed8525139240a395f9 to your computer and use it in GitHub Desktop.
1,2d0
< #!/bin/bash
<
33c31
< -e cpu/umask=0x01,event=0xC3,cmask=1,any=0,inv=0,edge,name=MACHINE_CLEARS.COUNT/ \
---
> -e cpu/umask=0x01,event=0xC3,cmask=1,any=0,inv=0,edge=1,name=MACHINE_CLEARS.COUNT/ \
148c146
< L2_BOUND=$(compute "($LOAD_L2_HIT / ($LOAD_L2_HIT + $L1D_PEND_MISS_FB_FULL))")
---
> L2_BOUND=$(compute "($LOAD_L2_HIT / ($LOAD_L2_HIT + $L1D_PEND_MISS_FB_FULL)) * $L2_BOUND_FRACTION")
150,151d147
< L2_BOUND=$(compute "$L2_BOUND * $L2_BOUND_FRACTION")
<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment