Class RecordedExecutionTimes.RecordedOperation

Object
RecordedOperation
Enclosing class:
RecordedExecutionTimes

public static class RecordedExecutionTimes.RecordedOperation extends Object
A particular type of operation that has been recorded (en aggregate).
  • Constructor Details

    • RecordedOperation

      public RecordedOperation(String operationIdentifier, int numberParentOperations, double meanExecutionTime, double sumExecutionTime, int count)
      Creates a new RecordedOperation instance.
      Parameters:
      operationIdentifier - An (unique) identifier for the operation.
      numberParentOperations - The number of parent operations. Zero if there are no parents.
      meanExecutionTime - The mean execution time in milliseconds for the operation.
      sumExecutionTime - The total summed execution time in milliseconds for the operation.
      count - How many times the operation occurred.
  • Method Details

    • meanExecutionTimeSeconds

      public double meanExecutionTimeSeconds()
      The mean execution time in seconds for the operation.
      Returns:
      the mean execution time.
    • sumExecutionTimeSeconds

      public double sumExecutionTimeSeconds()
      The total summed execution time in seconds for the operation.
      Returns:
      the mean execution time.
    • getOperationIdentifier

      public String getOperationIdentifier()
      An (unique) identifier for the operation.
    • getNumberParentOperations

      public int getNumberParentOperations()
      The number of parent operations. Zero if there are no parents.
    • getCount

      public int getCount()
      How many times the operation occurred.