Package com.sun.sgs.profile

Examples of com.sun.sgs.profile.AggregateProfileOperation.report()


        ProfileConsumer cons1 = collector.getConsumer("c1");
        final AggregateProfileOperation op =
                (AggregateProfileOperation)
                    cons1.createOperation(name, testType, ProfileLevel.MIN);
       
        op.report();
        assertEquals(1, op.getCount());
       
        op.report();
        assertEquals(2, op.getCount());
       
View Full Code Here


                    cons1.createOperation(name, testType, ProfileLevel.MIN);
       
        op.report();
        assertEquals(1, op.getCount());
       
        op.report();
        assertEquals(2, op.getCount());
       
        op.clearCount();
        assertEquals(0, op.getCount());
       
View Full Code Here

        assertEquals(2, op.getCount());
       
        op.clearCount();
        assertEquals(0, op.getCount());
       
        op.report();
        assertEquals(1, op.getCount());
   }
  
   @Test(expected=IllegalArgumentException.class)
   public void testAggregateProfileNegSmoothing() throws Exception {
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.