|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.proactive.benchmarks.timit.util.TimerCounter
org.objectweb.proactive.benchmarks.timit.util.MigratableCounter
public class MigratableCounter
A MigratableCounter is a TimerCounter which can be migrated using ProActive
migration.
This counter use a network clock and is much slower than a classic
TimerCounter.
Use with care.
| Constructor Summary | |
|---|---|
MigratableCounter(java.lang.String s)
Create an instance of MigratableCounter |
|
| Method Summary | |
|---|---|
boolean |
isMigratable()
Used by the Timer to know if a counter can be migrated |
void |
setClock(TimItReductor tr)
Invoked by TimItReductor to setup network clock (which is localized on TimItReductor instance node |
void |
start()
Start the counter (perform a distant method call) |
void |
stop()
Stop the counter (perform a distant method call) |
| Methods inherited from class org.objectweb.proactive.benchmarks.timit.util.TimerCounter |
|---|
addValue, getElapsedTime, getHierarchicalTime, getId, getName, getTotalTime, isStarted, reset, setId, setName, setTimer, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MigratableCounter(java.lang.String s)
s - the name of the counter you want to create| Method Detail |
|---|
public boolean isMigratable()
isMigratable in class TimerCounterpublic void setClock(TimItReductor tr)
tr - the TimItReductor instancepublic void start()
start in class TimerCounterpublic void stop()
stop in class TimerCounter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||