IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.session
Interface IRecordingSessionStatistics


public interface IRecordingSessionStatistics

Provides statistical information about the content of a recmodel file.


Method Summary
 long attachmentCount()
          Returns the count of attachments.
 long attachmentSize()
          Returns the total size of attachments.
 int getMeasurementCount()
          Returns the count of measurements in the recording.
 long getTimeGranularity()
          Returns the time covered by a measurement, in milliseconds.
 long maxTimeJitter()
          Returns the greatest time difference between unordered packets.
 int packetCount()
          Returns the packet count in the recording.
 int packetCount(int timeSlice)
          Returns the count of packets during a given measurement.
 int packetCount(int timeSlice, String packetType)
          Returns the count of packets during a given measurement, for a specfic packet type.
 int packetCount(String packetType)
          Returns the count of packets of a specific type.
 long packetSize()
          Returns the total packet size.
 long packetSize(int timeSlice)
          Returns the total packet size during a given measurement.
 long packetSize(int timeSlice, String packetType)
          Returns the total size of packets of a specific type, during a given measurement.
 long packetSize(String packetType)
          Returns the total size of packets of a specific type.
 Set<String> packetsTypes()
          Returns all packet types found in the recording.
 

Method Detail

packetsTypes

Set<String> packetsTypes()
Returns all packet types found in the recording.

Returns:
All packet types found in the recording.

getTimeGranularity

long getTimeGranularity()
Returns the time covered by a measurement, in milliseconds.

Returns:
the time covered by a measurement, in milliseconds.

getMeasurementCount

int getMeasurementCount()
Returns the count of measurements in the recording.

Returns:
the count of measurements in the recording.

packetCount

int packetCount()
Returns the packet count in the recording.

Returns:
the packet count in the recording.

packetCount

int packetCount(String packetType)
Returns the count of packets of a specific type.

Parameters:
packetType - A packet type.
Returns:
the count of packets of the specified type.

packetCount

int packetCount(int timeSlice)
Returns the count of packets during a given measurement.

Parameters:
timeSlice - The index of the measurement.
Returns:
the count of packets during a given measurement.

packetCount

int packetCount(int timeSlice,
                String packetType)
Returns the count of packets during a given measurement, for a specfic packet type.

Parameters:
timeSlice - The index of the measurement.
packetType - A packet type.
Returns:
the count of packets during the specified measurement index, for the specified packet type.

packetSize

long packetSize()
Returns the total packet size.

Returns:
the total packet size.

packetSize

long packetSize(String packetType)
Returns the total size of packets of a specific type.

Parameters:
packetType - A packet type.
Returns:
the total size of packets of the specified type.

packetSize

long packetSize(int timeSlice)
Returns the total packet size during a given measurement.

Parameters:
timeSlice - The index of the measurement.
Returns:
the total packet size during the specified measurement.

packetSize

long packetSize(int timeSlice,
                String packetType)
Returns the total size of packets of a specific type, during a given measurement.

Parameters:
timeSlice - The index of the measurement.
packetType - A packet type.
Returns:
the total size of packets of the specified type, during the specified measurement.

attachmentCount

long attachmentCount()
Returns the count of attachments.

Returns:
the count of attachments.

attachmentSize

long attachmentSize()
Returns the total size of attachments.

Returns:
the total size of attachments.

maxTimeJitter

long maxTimeJitter()
Returns the greatest time difference between unordered packets.
Formally, for any 0 <= i <= j < packetCount(), let:
 if timestamp(i) > timestamp(j) :
        jitterTime(i,j) =  timestamp(i) - timestamp(j)
 else :
        jitterTime(i,j) = 0
 
Then maxJitterTime = MAX (jitterTime(i,j)).

Returns:

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.