Package 

Class PerfettoContinuousProfiler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean isRunning
      private SentryId profilerId
      private SentryId chunkId
    • Method Summary

      Modifier and Type Method Description
      boolean isRunning()
      SentryId getProfilerId()
      SentryId getChunkId()
      void startProfiler(@NotNull() ProfileLifecycle profileLifecycle, @NotNull() TracesSampler tracesSampler)
      void stopProfiler(@NotNull() ProfileLifecycle profileLifecycle)
      void onRateLimitChanged(@NotNull() RateLimiter rateLimiter) Stop the profiler as soon as we are rate limited, to avoid the performance overhead.
      void close(boolean isTerminating)
      void reevaluateSampling()
      • Methods inherited from class io.sentry.IContinuousProfiler

        close, getChunkId, getProfilerId, isRunning, reevaluateSampling, startProfiler, stopProfiler
      • Methods inherited from class io.sentry.transport.RateLimiter.IRateLimitObserver

        onRateLimitChanged
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • startProfiler

         void startProfiler(@NotNull() ProfileLifecycle profileLifecycle, @NotNull() TracesSampler tracesSampler)
      • stopProfiler

         void stopProfiler(@NotNull() ProfileLifecycle profileLifecycle)
      • onRateLimitChanged

         void onRateLimitChanged(@NotNull() RateLimiter rateLimiter)

        Stop the profiler as soon as we are rate limited, to avoid the performance overhead.

        Parameters:
        rateLimiter - the RateLimiter instance to check categories against
      • close

         void close(boolean isTerminating)