Class Profile


  • public class Profile
    extends java.lang.Object
    Profile.
    • Constructor Summary

      Constructors 
      Constructor Description
      Profile​(java.util.List<ProfileNode> nodes, java.lang.Number startTime, java.lang.Number endTime, java.util.Optional<java.util.List<java.lang.Integer>> samples, java.util.Optional<java.util.List<java.lang.Integer>> timeDeltas)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getEndTime()
      Profiling end timestamp in microseconds.
      java.util.List<ProfileNode> getNodes()
      The list of profile nodes.
      java.util.Optional<java.util.List<java.lang.Integer>> getSamples()
      Ids of samples top nodes.
      java.lang.Number getStartTime()
      Profiling start timestamp in microseconds.
      java.util.Optional<java.util.List<java.lang.Integer>> getTimeDeltas()
      Time intervals between adjacent samples in microseconds.
      • Methods inherited from class java.lang.Object

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

      • Profile

        public Profile​(java.util.List<ProfileNode> nodes,
                       java.lang.Number startTime,
                       java.lang.Number endTime,
                       java.util.Optional<java.util.List<java.lang.Integer>> samples,
                       java.util.Optional<java.util.List<java.lang.Integer>> timeDeltas)
    • Method Detail

      • getNodes

        public java.util.List<ProfileNode> getNodes()
        The list of profile nodes. First item is the root node.
      • getStartTime

        public java.lang.Number getStartTime()
        Profiling start timestamp in microseconds.
      • getEndTime

        public java.lang.Number getEndTime()
        Profiling end timestamp in microseconds.
      • getSamples

        public java.util.Optional<java.util.List<java.lang.Integer>> getSamples()
        Ids of samples top nodes.
      • getTimeDeltas

        public java.util.Optional<java.util.List<java.lang.Integer>> getTimeDeltas()
        Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.