Package com.sun.faban.driver.util.timermeter

Examples of com.sun.faban.driver.util.timermeter.TimerMeter


    public void idleTimerCheck(String id) {
        // Currently, this is only informational. In the future,
        // we could use the results to adjust the timer.
        logger.info(id + ": Performing idle timer check");
        logger.info(id + ": Idle timer characteristics:\n" + new TimerMeter(
                1000000, 10, 1000, 2, 100, 2).printTimerCharacterization());
    }
View Full Code Here


            wakeupAt(startTime);

            // Currently, this is only informational. In the future,
            // we could use the results to adjust the timer.
            logger.info(id + ": Performing busy timer check");
            logger.info(id + ": Busy timer characteristics:\n" + new TimerMeter(
                    1000000, 10, 1000, 2, 100, 2).printTimerCharacterization());

            // Now make sure we still have enough time to calibrate the sleep.
            long timeExceeded = System.nanoTime() - endRamp;
View Full Code Here

TOP

Related Classes of com.sun.faban.driver.util.timermeter.TimerMeter

Copyright © 2018 www.massapicom. 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.