Package jadex.micro.helloworld
Class LambdaCreationAgent
java.lang.Object
jadex.micro.helloworld.LambdaCreationAgent
Agent creation benchmark.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
createAgent
(int max, int num, Long smem, Long stime) protected static void
deletePeers
(int cnt, long killstarttime, double dur, double pera, long omem, double upera, int max) Delete all peers from last-1 to first.protected static void
killLastPeer
(int max, long killstarttime, double dur, double pera, long omem, double upera) Kill the last peer and print out the results.static void
Main for testing.
-
Constructor Details
-
LambdaCreationAgent
public LambdaCreationAgent()
-
-
Method Details
-
main
Main for testing. -
createAgent
-
deletePeers
protected static void deletePeers(int cnt, long killstarttime, double dur, double pera, long omem, double upera, int max) Delete all peers from last-1 to first.- Parameters:
cnt
- The highest number of the agent to kill.
-
killLastPeer
protected static void killLastPeer(int max, long killstarttime, double dur, double pera, long omem, double upera) Kill the last peer and print out the results.
-