edu.indiana.dde.mylead.dai
Class OrderedTimerLog

java.lang.Object
  extended by edu.indiana.dde.mylead.dai.OrderedTimerLog

public class OrderedTimerLog
extends java.lang.Object


Constructor Summary
OrderedTimerLog(org.apache.log4j.Logger log)
           
OrderedTimerLog(org.apache.log4j.Logger log, java.lang.String procName)
           
 
Method Summary
 void markTime(java.lang.String msg)
          Sets a timing point in the log using the description passed as a parameter and the module level mTimingPnt variable as a counter to sequence the calls.
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderedTimerLog

public OrderedTimerLog(org.apache.log4j.Logger log)

OrderedTimerLog

public OrderedTimerLog(org.apache.log4j.Logger log,
                       java.lang.String procName)
Method Detail

reset

public void reset()

markTime

public void markTime(java.lang.String msg)
Sets a timing point in the log using the description passed as a parameter and the module level mTimingPnt variable as a counter to sequence the calls. The counter, message, and current time (ms) are output with colon delimiters so the timing points can esily be parsed in the log.

Parameters:
msg - String with the message to put in the log with this timing point