Package jadex.micro.benchmarks
Class MegaParallelStarterAgent
- java.lang.Object
-
- jadex.micro.benchmarks.MegaParallelStarterAgent
-
public class MegaParallelStarterAgent extends java.lang.Object
Agent creation benchmark.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
protected int
agents
protected double
dur
protected long
killstarttime
protected long
omem
protected double
pera
protected long
startmem
protected long
starttime
protected java.lang.String
subname
protected double
upera
-
Constructor Summary
Constructors Constructor Description MegaParallelStarterAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deletePeers(int cnt)
Delete all peers from last-1 to first.IFuture<java.lang.Void>
executeBody()
Execute an agent step.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
-
subname
protected java.lang.String subname
-
agents
protected int agents
-
startmem
protected long startmem
-
starttime
protected long starttime
-
omem
protected long omem
-
dur
protected double dur
-
pera
protected double pera
-
upera
protected double upera
-
killstarttime
protected long killstarttime
-
-
Method Detail
-
executeBody
public IFuture<java.lang.Void> executeBody()
Execute an agent step.
-
deletePeers
protected void deletePeers(int cnt)
Delete all peers from last-1 to first.- Parameters:
cnt
- The highest number of the agent to kill.
-
-