| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.proactive.benchmarks.timit.util.TimItReductor
public class TimItReductor
This class is an active object used by TimItManager to retrieve timers from all workers. It localized on Startable instance node
| Field Summary | |
|---|---|
| static int | TIMEOUTtimeout (in seconds) when gatehering statistics from Timeds | 
| Constructor Summary | |
|---|---|
| TimItReductor()Singleton pattern | |
| Method Summary | |
|---|---|
|  void | clean()Invoked by TimIt beteween each run | 
|  long | getCurrentTimeMillis()Used by MigratableCounter as a network clock | 
|  EventDataBag | getEventDataBag() | 
|  BenchmarkStatistics | getStatistics()Invoked by TimItManager when Startable call finalizeStats() | 
| static void | ready()Invoked by TimIt if an application timeout occur | 
|  void | receiveAll(EventDataBag eventDataBag,
           HierarchicalTimer receivedTimer,
           java.lang.String receivedInformation)This method will be called by a worker ie an observable object to reduce its vector of EventDatas. | 
|  void | receiveTimer(HierarchicalTimer receivedTimer)Invoked by Timed instances when finalizing | 
|  void | setGroupSize(int groupSize) | 
| static void | stop()Invoked by TimIt if an application timeout occur | 
|  void | terminate() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int TIMEOUT
| Constructor Detail | 
|---|
public TimItReductor()
| Method Detail | 
|---|
public long getCurrentTimeMillis()
public void receiveTimer(HierarchicalTimer receivedTimer)
receivedTimer - public void setGroupSize(int groupSize)
public void clean()
public BenchmarkStatistics getStatistics()
groupSize - the size of the Timed group
public static void stop()
public static void ready()
public void receiveAll(EventDataBag eventDataBag,
                       HierarchicalTimer receivedTimer,
                       java.lang.String receivedInformation)
public EventDataBag getEventDataBag()
public void terminate()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||