Class UserMetric

  • All Implemented Interfaces:

    
    public class UserMetric
    
                        

    User metric

    Since:

    2.13

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      UserMetric()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • UserMetric

        UserMetric()
    • Method Detail

      • add

         synchronized void add(SampleResult result)

        Add a SampleResult to be used in the statistics

        Parameters:
        result - SampleResult not used
      • resetForTimeInterval

         synchronized void resetForTimeInterval()

        Reset metric except for percentile related data

      • getMaxActiveThreads

         int getMaxActiveThreads()
        Returns:

        the max number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE

      • getMeanActiveThreads

         int getMeanActiveThreads()
        Returns:

        the mean number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE

      • getMinActiveThreads

         int getMinActiveThreads()
        Returns:

        the min number of active threads for this test run using a sliding window of SLIDING_WINDOW_SIZE

      • clear

         void clear()

        Clear stats