Index
All Classes and Interfaces|All Packages
A
- AbstractComponentBenchmark - Class in jadex.benchmark
-
Base class for testing component creation.
- AbstractComponentBenchmark() - Constructor for class jadex.benchmark.AbstractComponentBenchmark
- AbstractComponentBenchmark.Measurement - Record Class in jadex.benchmark
-
Struct to hold measurement data.
C
- components - Variable in class jadex.benchmark.AbstractComponentBenchmark
-
Created components are stored for later killing.
- createAndKillComponents(int, boolean, boolean) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Called from runThroughputBenchmark() to create and immediately kill a number of components one at a time.
- createComponent(String) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Create a component with a given name.
- createComponents(int, boolean, boolean) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Called from runCreationBenchmark() to create a number of components.
E
- equals(Object) - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Indicates whether some other object is "equal to" this one.
G
- gc() - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Garbage collect as much as possible.
- getComponentTypeName() - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Used in printing result.
H
- hashCode() - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Returns a hash code value for this object.
J
- jadex.benchmark - package jadex.benchmark
K
- killComponents(boolean, boolean) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Called from runCreationBenchmark() to kill all created components.
M
- measure(String, Runnable) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Run a piece of code and return time and mem measurement.
- Measurement(String, long, long) - Constructor for record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Creates an instance of a
Measurement
record class. - mem() - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Returns the value of the
mem
record component.
N
- name() - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Returns the value of the
name
record component.
P
- printResults(int, AbstractComponentBenchmark.Measurement) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Print the results of a measurement.
R
- runCreationBenchmark(int, boolean, boolean) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Create a number of agents and afterwards kill all agents.
- runThroughputBenchmark(int, boolean, boolean) - Method in class jadex.benchmark.AbstractComponentBenchmark
-
Create and immediately kill one agent at a time for a given number of agents.
T
- time() - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Returns the value of the
time
record component. - TIMEOUT - Variable in class jadex.benchmark.AbstractComponentBenchmark
-
Timeout to cap test execution time (non-static so subclasses can alter it independently).
- toString() - Method in record class jadex.benchmark.AbstractComponentBenchmark.Measurement
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages