|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.minisim.proxy.entity
public static final class proxy.entity
Benchmark proxy entity.
| Field Summary | |
|---|---|
private proxy.entityInterface |
e
entity proxy. |
private long |
endTime
benchmark end time. |
private int |
mode
benchmark type. |
private long |
nwarm
number of warm-up proxied events. |
private long |
startTime
benchmark start time. |
private long |
total
total number of benchmark proxied events. |
| Constructor Summary | |
|---|---|
proxy.entity(int mode,
long nevents,
long nwarm)
Create new proxy benchmark entity. |
|
| Method Summary | |
|---|---|
void |
finish()
Measure finish time. |
void |
go(proxy.entityInterface e)
Perform benchmark. |
void |
operation_double(double d)
Proxied event with primitive double parameter. |
void |
operation_int(int i)
Proxied event with primitive integer parameter. |
void |
operation_null()
Proxied event with no parameters. |
void |
operation_string(java.lang.String s)
Proxied event with String parameter. |
void |
start()
Measure start time. |
| 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
private proxy.entityInterface e
| Constructor Detail |
|---|
public proxy.entity(int mode,
long nevents,
long nwarm)
mode - benchmark typenevents - number of benchmark proxied eventsnwarm - number of warm-up proxied events| Method Detail |
|---|
public void go(proxy.entityInterface e)
e - entitypublic void start()
start in interface proxy.entityInterfacepublic void finish()
finish in interface proxy.entityInterfacepublic void operation_null()
operation_null in interface proxy.entityInterfacepublic void operation_int(int i)
operation_int in interface proxy.entityInterfacei - dummy intpublic void operation_double(double d)
operation_double in interface proxy.entityInterfaced - dummy doublepublic void operation_string(java.lang.String s)
operation_string in interface proxy.entityInterfaces - dummy string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||