org.jactr.core.runtime.profile
Class ProfilingModelRunner
java.lang.Object
org.jactr.core.runtime.DefaultModelRunner
org.jactr.core.runtime.profile.ProfilingModelRunner
- All Implemented Interfaces:
- java.lang.Runnable
public class ProfilingModelRunner
- extends DefaultModelRunner
tracks various performance metrics
- Author:
- developer
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfilingModelRunner
public ProfilingModelRunner(java.util.concurrent.ExecutorService service,
IModel model,
ICycleProcessor cycleRunner)
- Parameters:
service - model - cycleRunner -
getTotalCycles
public long getTotalCycles()
getTotalCycleTime
public double getTotalCycleTime()
- comprised of both actual processing time and waiting time
- Returns:
getActualCycleTime
public double getActualCycleTime()
- return just the time spent in cycle()
- Returns:
getActualWaitTime
public double getActualWaitTime()
- return just the time spent waiting for the clock
- Returns:
getActualEventTime
public double getActualEventTime()
getSimulatedTime
public double getSimulatedTime()
getRealTimeFactor
public double getRealTimeFactor()