Created
January 29, 2017 17:06
-
-
Save autoletics/0f9553ac2480eba478eebd5f778c85b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChangePoint cp = cs.changepoint(name(Reflection.class).name("ingress")); | |
// if the method was instrumented and metered | |
if(cp != null) { | |
Change c = cp.change(name("clock").name("time")); | |
// if the clock.time meter was measured | |
if(c != null) | |
out.format("%2d %s\n", c.getCount(), cp.getName()); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment