Package jadex.micro.benchmarks
Class MegaParallelStarterAgent
- java.lang.Object
-
- jadex.micro.benchmarks.MegaParallelStarterAgent
-
public class MegaParallelStarterAgent extends java.lang.ObjectAgent creation benchmark.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccessagentprotected intagentsprotected doubledurprotected longkillstarttimeprotected longomemprotected doubleperaprotected longstartmemprotected longstarttimeprotected java.lang.Stringsubnameprotected doubleupera
-
Constructor Summary
Constructors Constructor Description MegaParallelStarterAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeletePeers(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.
-
-