Package boofcv.misc

Class ProfileOperation

java.lang.Object
boofcv.misc.ProfileOperation

public class ProfileOperation
extends Object
Operations for profiling runtime performance of code segments.
  • Constructor Details

    • ProfileOperation

      public ProfileOperation()
  • Method Details

    • profile

      public static void profile​(Performer performer, int num)
      See how long it takes to run the process 'num' times and print the results to standard out
    • printOpsPerSec

      public static void printOpsPerSec​(Performer performer, long minTestTime)
    • profileOpsPerSec

      public static double profileOpsPerSec​(Performer performer, long minTestTime, boolean warmUp)
    • measureTime

      public static long measureTime​(Performer performer, int num)