org.objectweb.proactive.benchmarks.timit.util
Class TimItManager

java.lang.Object
  extended by org.objectweb.proactive.benchmarks.timit.util.TimItManager
All Implemented Interfaces:
java.io.Serializable

public class TimItManager
extends java.lang.Object
implements java.io.Serializable

TimItManager is used to manage timers between Timed instances TimItManager instance should be created in application main class

Author:
Brian Amedro, Vladimir Bodnartchouk
See Also:
Serialized Form

Method Summary
 void finalizeStats()
          Deprecated.  
 BenchmarkStatistics getBenchmarkStatistics()
          Wait for the result of all Timed object
 EventDataBag getEventCollapsedBag()
          Useful if you want to retrieve collapsed data from an Event observer
static TimItManager getInstance()
           
 void setTimedObjects(Timed timed)
          Construct a TimItManager from a single Timed object (active or not), or a typed group of Timeds
 void setTimedObjects(Timed[] timed)
          Construct a TimItManager from an array of Timed
 void setTimitReductor(TimItReductor reductor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TimItManager getInstance()

setTimitReductor

public void setTimitReductor(TimItReductor reductor)

setTimedObjects

public void setTimedObjects(Timed timed)
Construct a TimItManager from a single Timed object (active or not), or a typed group of Timeds

Parameters:
timed - a standard or an active Timed object or a typed group of Timeds

setTimedObjects

public void setTimedObjects(Timed[] timed)
Construct a TimItManager from an array of Timed

Parameters:
timed - a Timed array

finalizeStats

@Deprecated
public void finalizeStats()
Deprecated. 

You may call this method at the end your launcher to perform timers analysis and charts generation.
This call is synchronous (it waiting for the workers results) Use getBenchmarkStatistics() indeed


getEventCollapsedBag

public EventDataBag getEventCollapsedBag()
Useful if you want to retrieve collapsed data from an Event observer

Returns:
an EventDataBag

getBenchmarkStatistics

public BenchmarkStatistics getBenchmarkStatistics()
Wait for the result of all Timed object

Returns:
all benchmark statistics (timers and events statistics)


Copyright 2001-2007 INRIA All Rights Reserved.