Examples of stopCounters()


Examples of org.jnode.vm.performance.PerformanceCounters.stopCounters()

            long[] counters = new long[events.length];
            perfCtr.startCounters(events);
            ArithOpt.main(new String[0]);

            perfCtr.getCounterValues(counters);
            perfCtr.stopCounters();
            for (i = 0; i < events.length; i++) {
                System.out.println(events[i].getId() + " 0x"
                    + NumberUtils.hex(counters[i]));
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.