Package protocols.apps.canvas.timers
Class WorkloadTimer
java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoTimer
protocols.apps.canvas.timers.WorkloadTimer
- All Implemented Interfaces:
Cloneable
public class WorkloadTimer
extends pt.unl.fct.di.novasys.babel.generic.ProtoTimer
Fires at the configured paint rate to make
CanvasApp generate one
random paint operation in headless workload mode (see
CanvasApp.uponWorkloadTimer). Set up with setupPeriodicTimer(...)
when canvas.workload.enabled=true; this is how the experiments harness
drives load without the web UI.
Stateless, so clone() returns this — the Babel convention.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoTimer
getId
-
Field Details
-
TIMER_ID
public static final short TIMER_ID- See Also:
-
-
Constructor Details
-
WorkloadTimer
public WorkloadTimer()
-
-
Method Details
-
clone
public pt.unl.fct.di.novasys.babel.generic.ProtoTimer clone()- Specified by:
clonein classpt.unl.fct.di.novasys.babel.generic.ProtoTimer
-