|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.minisim.cont.entity
public static class cont.entity
Entity to test continuation entity calls.
| Field Summary | |
|---|---|
private int |
mode
benchmark type. |
private long |
nevents
number of continuation events. |
private long |
nwarm
number of warm-up events. |
| Constructor Summary | |
|---|---|
cont.entity(int mode,
long nevents,
long nwarm)
Create new continuation event benchmarking entity. |
|
| Method Summary | |
|---|---|
private void |
call()
Perform single continuation call. |
void |
go()
Perform benchmark. |
byte[] |
operation_array(byte[] b)
Blocking operation with array parameter. |
void |
operation_double(double d)
Blocking operation with primitive double parameter. |
void |
operation_int(int i)
Blocking operation with primitive integer parameter. |
void |
operation_null()
Blocking operation with no parameters. |
void |
operation_show()
Blocking operation that displays time. |
void |
operation_string(java.lang.String s)
Blocking operation with String parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int mode
private long nevents
private long nwarm
| Constructor Detail |
|---|
public cont.entity(int mode,
long nevents,
long nwarm)
mode - benchmark typenevents - number of continuation eventsnwarm - number of warm-up events| Method Detail |
|---|
private void call()
public void go()
public void operation_show()
throws JistAPI.Continuation
JistAPI.Continuation - never; blocking event
public void operation_null()
throws JistAPI.Continuation
JistAPI.Continuation - never; blocking event
public void operation_int(int i)
throws JistAPI.Continuation
i - dummy int parameter
JistAPI.Continuation - never; blocking event
public void operation_double(double d)
throws JistAPI.Continuation
d - dummy double parameter
JistAPI.Continuation - never; blocking event
public void operation_string(java.lang.String s)
throws JistAPI.Continuation
s - dummy string parameter
JistAPI.Continuation - never; blocking event
public byte[] operation_array(byte[] b)
throws JistAPI.Continuation
b - dummy array parameter
JistAPI.Continuation - never; blocking event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||