Package 

Object InternalMonitor


  • 
    public class InternalMonitor
    
                        

    Monitors and reports internal performance metrics.

    • Method Summary

      Modifier and Type Method Description
      final Unit initCalled() As soon as Specto.init(…) is called.
      final Unit startupTraceStarted() When the startup trace actually starts: the event is dispatched to the C++ library.
      final Long startupTraceDelayMillis() The delay in nanoseconds between Specto.init(…) being called and the startup trace starting.
      • Methods inherited from class dev.specto.android.testing.shared.InternalMonitor

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initCalled

         final Unit initCalled()

        As soon as Specto.init(…) is called.

      • startupTraceStarted

         final Unit startupTraceStarted()

        When the startup trace actually starts: the event is dispatched to the C++ library.

      • startupTraceDelayMillis

         final Long startupTraceDelayMillis()

        The delay in nanoseconds between Specto.init(…) being called and the startup trace starting. null if the startup trace hasn't been started yet or was disabled.