Package jadex.micro.benchmarks
Class BlockingAgentCreationAgent
- java.lang.Object
- 
- jadex.micro.benchmarks.BlockingAgentCreationAgent
 
- 
 public class BlockingAgentCreationAgent extends java.lang.ObjectAgent creation benchmark using threaded components
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected intmaxMaximum number of agents to create.protected intnumRemaining number of agents to create (-1 for start agent).protected longstartmemMemory usage when the first agent was started.protected longstarttimeTime when the first agent was started.
 - 
Constructor SummaryConstructors Constructor Description BlockingAgentCreationAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcreatePeerName(int num, IComponentIdentifier cid)Create a name for a peer with a given number.voidexecuteBody()Execute an agent step.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent The agent.
 - 
maxprotected int max Maximum number of agents to create.
 - 
numprotected int num Remaining number of agents to create (-1 for start agent).
 - 
starttimeprotected long starttime Time when the first agent was started.
 - 
startmemprotected long startmem Memory usage when the first agent was started.
 
- 
 - 
Method Detail- 
executeBodypublic void executeBody() Execute an agent step.
 - 
createPeerNameprotected java.lang.String createPeerName(int num, IComponentIdentifier cid)Create a name for a peer with a given number.
 
- 
 
-