Class Storage


  • public final class Storage
    extends java.lang.Object
    Storage is responsible for storing and returning recorded marks. This is a low level class and not intended for use by users. Instead, the TraceEventWriter and TraceEventViewer classes provide easier to use APIs for accessing PerfMark data.

    This code is NOT API stable, and may be removed in the future, or changed without notice.

    • Method Detail

      • getInitNanoTime

        public static long getInitNanoTime()
      • read

        public static java.util.List<MarkList> read()
        Returns a list of MarkLists across all reachable threads.
        Returns:
        all reachable MarkLists.
      • resetForTest

        public static void resetForTest()
      • readForTest

        @Nullable
        public static MarkList readForTest()