|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.minisim.events.entity
public static final class events.entity
Event throughput benchmark entity.
| Field Summary | |
|---|---|
private long |
endTime
benchmark end time. |
private int |
mode
benchmark type. |
private long |
nwarm
number of warm-up events. |
private long |
startTime
benchmark start time. |
private long |
total
total number of events. |
| Constructor Summary | |
|---|---|
events.entity(int mode,
long nevents,
long nwarm)
Create new event throughput benchmark entity. |
|
| Method Summary | |
|---|---|
void |
finish()
End benchmark. |
void |
operation_double(double d)
Event with primitive double parameter. |
void |
operation_int(int i)
Event with primitive integer parameter. |
void |
operation_null()
Event with no parameters. |
void |
operation_string(java.lang.String s)
Event with String parameter. |
void |
start()
Begin bechmark. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int mode
private final long total
private final long nwarm
private long startTime
private long endTime
| Constructor Detail |
|---|
public events.entity(int mode,
long nevents,
long nwarm)
mode - benchmark typenevents - number of benchmark eventsnwarm - number of warm-up events| Method Detail |
|---|
public void start()
public void finish()
public void operation_null()
public void operation_int(int i)
i - dummy intpublic void operation_double(double d)
d - dummy doublepublic void operation_string(java.lang.String s)
s - dummy string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||