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 voidcreateAgent(int max, int num, Long smem, Long stime) protected static voiddeletePeers(int cnt, long killstarttime, double dur, double pera, long omem, double upera, int max) Delete all peers from last-1 to first.protected static voidkillLastPeer(int max, long killstarttime, double dur, double pera, long omem, double upera) Kill the last peer and print out the results.static voidMain 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.
-