Class Results.Timings

  • All Implemented Interfaces:

    
    public class Results.Timings
    
                        

    Timings class to track inference and processing times.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Results.Timings(long preprocess, long inference, long postprocess, long prediction) Construct a new timings set from measured times.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Results.Timings

        Results.Timings(long preprocess, long inference, long postprocess, long prediction)
        Construct a new timings set from measured times.
        Parameters:
        preprocess - the millisecond count of preprocessing.
        inference - the millisecond count of inference.
        postprocess - the millisecond count of postprocessing.
        prediction - the millisecond count of the whole prediction.
    • Method Detail

      • getPreprocessTime

         long getPreprocessTime()

        Retrieve the preprocessing time.

        Returns:

        a millisecond preprocessing time.

      • getInferenceTime

         long getInferenceTime()

        Retrieve the inference time.

        Returns:

        a millisecond inference time.

      • getPostprocessTime

         long getPostprocessTime()

        Retrieve the postprocessing time.

        Returns:

        a millisecond postprocessing time.

      • getPredictionTime

         long getPredictionTime()

        Retrieve the prediction time.

        Returns:

        a millisecond prediction time.