SableJBDD.cache
Class CacheProfiler

java.lang.Object
  extended bySableJBDD.cache.CacheProfiler
All Implemented Interfaces:
Profiling
Direct Known Subclasses:
AbstractUniqueTable, EmptyBddCache, IdealCache, MultiWayCache, OneWayCache, PhantomUniqueTable

public class CacheProfiler
extends java.lang.Object
implements Profiling

A cache profiler implements profiling interface.


Field Summary
 
Fields inherited from interface SableJBDD.bdd.util.Profiling
PROFILING
 
Constructor Summary
CacheProfiler()
           
 
Method Summary
 long accesses()
           
 double hitRate()
           
 long hits()
           
 long misses()
           
 double missRate()
           
 void reportStatistics(java.io.PrintStream out)
           
 long steps()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheProfiler

public CacheProfiler()
Method Detail

hits

public long hits()

misses

public long misses()

accesses

public long accesses()

steps

public long steps()

hitRate

public double hitRate()

missRate

public double missRate()

reportStatistics

public void reportStatistics(java.io.PrintStream out)
Specified by:
reportStatistics in interface Profiling