org.objectweb.proactive.benchmarks.timit
Class TimIt

java.lang.Object
  extended by org.objectweb.proactive.benchmarks.timit.TimIt

public class TimIt
extends java.lang.Object

TimIt offer a complete solution to benchmark an application. It is an API which provide some advanced timing and event observing services. Benchmarking your ProActive application will permit you to enhance performance of it. Thanks to generated statistics charts, you will be able to determine critical points of your application.

Different kind of statistics can be done. You can setup different timers with hierarchical capabilities and see them in charts. Event observers can be placed to study, for example, communication pattern between your application's workers.

TimIt generate charts and results XML file, with exact timing and event observers values.

Author:
Brian Amedro, Vladimir Bodnartchouk

Field Summary
static java.text.DecimalFormat df
           
 
Constructor Summary
TimIt()
           
 
Method Summary
static int getObjectSize(java.lang.Object object)
          This method return the size in byte of a given object
static java.lang.String getVersion()
           
static void main(java.lang.String[] args)
          Main method of Timit.
static void message(int level, java.lang.String msg)
          Used to show logging information on stdout while running q benchmark suite
static void sleep(long millis)
          Cause a sleep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

df

public static final java.text.DecimalFormat df
Constructor Detail

TimIt

public TimIt()
Method Detail

main

public static void main(java.lang.String[] args)
Main method of Timit. Use -h argument for help

Parameters:
args - arguments to run TimIt

message

public static void message(int level,
                           java.lang.String msg)
Used to show logging information on stdout while running q benchmark suite

Parameters:
level - the importance of the message (0=high)
msg - the message

getObjectSize

public static int getObjectSize(java.lang.Object object)
This method return the size in byte of a given object

Parameters:
object - the object you want the size
Returns:
the byte size of the given object, -1 if it can't be computed

getVersion

public static java.lang.String getVersion()
Returns:
a String containing the TimIt version number (ex: "TimIt 1.0")

sleep

public static void sleep(long millis)
Cause a sleep

Parameters:
millis - the time to sleep


Copyright 2001-2007 INRIA All Rights Reserved.