All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.CycleTimer
java.lang.Object
   |
   +----edu.utah.janos.core.CycleTimer

  Summary

public class  CycleTimer
     extends java.lang.Object
{
          // Fields 5
     public long count;
     public String name;
     public long start_time;
     public long time;
     public long timeSquareSum;

          // Constructors 2
     public CycleTimer();
     public CycleTimer(String);

          // Methods 6
     public static long cycles();

     public synchronized long avg();
     public synchronized void end();
     public synchronized void reset();
     public synchronized void start();
     public synchronized long stdDev();
}

Access to the underlying cycle timer.

XXX Make this more generic: a simple timer interface. %AUTHOR_CKH%




  Fields

· name

Summary  |  Top

   public String name


· count

Summary  |  Top
   public long count


· time

Summary  |  Top
   public long time


· timeSquareSum

Summary  |  Top
   public long timeSquareSum


· start_time

Summary  |  Top
   public long start_time


  Constructors

· CycleTimer

Summary  |  Top

   public CycleTimer() 


· CycleTimer

Summary  |  Top
   public CycleTimer(String name) 


  Methods

· reset

Summary  |  Top
   public synchronized void reset() 


· start

Summary  |  Top
   public synchronized void start() 


· end

Summary  |  Top
   public synchronized void end() 


· avg

Summary  |  Top
   public synchronized long avg() 


· stdDev

Summary  |  Top
   public synchronized long stdDev() 


· cycles

Summary  |  Top
   public static long cycles() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7