Examples of logCall()


Examples of com.jitlogic.zorka.common.stats.MethodCallStatistic.logCall()

    @Test
    public void testMaxTimeCLR() throws Exception {
        MethodCallStatistic stat = new MethodCallStatistic("A");

        stat.logCall(10L * MS);
        stat.logCall(20L * MS);

        assertEquals(20L, stat.getMaxTime());
        assertEquals(20L, stat.getMaxTimeCLR());
        assertEquals(0L, stat.getMaxTime());
View Full Code Here

Examples of com.jitlogic.zorka.common.stats.MethodCallStatistic.logCall()

    @Test
    public void testMaxTimeCLR() throws Exception {
        MethodCallStatistic stat = new MethodCallStatistic("A");

        stat.logCall(10L * MS);
        stat.logCall(20L * MS);

        assertEquals(20L, stat.getMaxTime());
        assertEquals(20L, stat.getMaxTimeCLR());
        assertEquals(0L, stat.getMaxTime());

View Full Code Here

Examples of com.jitlogic.zorka.core.spy.MethodCallCounter.logCall()

            int incs = 0;

            for (int i = 0; i < recs.size(); i++) {
                MethodCallCounterRecord rec = recs.get(i);
                if (counters.get(i) < rec.getnCalls()) {
                    mcc.logCall(rec.getClassId(), rec.getMethodId(), rec.getSignatureId(), 10L);
                    counters.set(i, counters.get(i) + 1);
                    incs++;
                }
            }
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.