RSE
Release 1.0

org.eclipse.rse.core
Class SystemElapsedTimer

java.lang.Object
  extended byorg.eclipse.rse.core.SystemElapsedTimer

public class SystemElapsedTimer
extends Object

A utility helper class to help when making timings of potentially long operations, such as remote system calls.


Constructor Summary
SystemElapsedTimer()
           
 
Method Summary
 long getElapsedTime()
           
static void main(String[] args)
           
 SystemElapsedTimer setEndTime()
           
 void setET(long givenET)
           
 void setET(long h, long m, long s, long n)
           
 void setStartTime()
           
 String toString()
           
 void writeElapsedTime(PrintWriter writer, String header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemElapsedTimer

public SystemElapsedTimer()
Method Detail

setStartTime

public void setStartTime()

setEndTime

public SystemElapsedTimer setEndTime()

getElapsedTime

public long getElapsedTime()

toString

public String toString()

writeElapsedTime

public void writeElapsedTime(PrintWriter writer,
                             String header)

main

public static void main(String[] args)

setET

public void setET(long h,
                  long m,
                  long s,
                  long n)

setET

public void setET(long givenET)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.