edu.jhu.ece.iacl.jist.pipeline
Class PerformanceSummary.TimeAndMemoryStamp

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.PerformanceSummary.TimeAndMemoryStamp
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
PerformanceSummary

protected static class PerformanceSummary.TimeAndMemoryStamp
extends java.lang.Object
implements java.lang.Cloneable

The Class TimeAndMemoryStamp.


Field Summary
 long actualElapsed
          The actual elapsed time.
 java.sql.Time actualStart
          The actual start time.
 java.sql.Time actualStop
          The actual stop time.
 int allocatedMemory
          Allocated memory in MB.
 long elapsed
          Elapsed time in milliseconds.
 java.sql.Time start
          The cpu start time.
 java.sql.Time stop
          The cpu stop time.
 java.lang.String taskName
          The task name.
 int usedMemory
          Used memory in MB.
 
Constructor Summary
PerformanceSummary.TimeAndMemoryStamp()
          Default constructor.
PerformanceSummary.TimeAndMemoryStamp(java.lang.String name, long cpuStartTime, long cpuStopTime, long actualStartTime, long actualStopTime)
          Default constructor.
 
Method Summary
 PerformanceSummary.TimeAndMemoryStamp clone()
          Returns clone of time and memory stamp.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskName

public java.lang.String taskName
The task name.


start

public java.sql.Time start
The cpu start time.


stop

public java.sql.Time stop
The cpu stop time.


elapsed

public long elapsed
Elapsed time in milliseconds.


usedMemory

public int usedMemory
Used memory in MB.


allocatedMemory

public int allocatedMemory
Allocated memory in MB.


actualStart

public java.sql.Time actualStart
The actual start time.


actualStop

public java.sql.Time actualStop
The actual stop time.


actualElapsed

public long actualElapsed
The actual elapsed time.

Constructor Detail

PerformanceSummary.TimeAndMemoryStamp

public PerformanceSummary.TimeAndMemoryStamp()
Default constructor.


PerformanceSummary.TimeAndMemoryStamp

public PerformanceSummary.TimeAndMemoryStamp(java.lang.String name,
                                             long cpuStartTime,
                                             long cpuStopTime,
                                             long actualStartTime,
                                             long actualStopTime)
Default constructor.

Parameters:
name - task name
cpuStartTime - start time in milliseconds
cpuStopTime - stop time in milliseconds
actualStartTime - the actual start time
actualStopTime - the actual stop time
Method Detail

clone

public PerformanceSummary.TimeAndMemoryStamp clone()
Returns clone of time and memory stamp.

Overrides:
clone in class java.lang.Object
Returns:
the time and memory stamp