object SamplingProfiler
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SamplingProfiler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type StackTrace = Array[StackTraceElement]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def defaultFilter(frame: StackTraceElement): Boolean
Default filter, that frame is not an API call, an anonymous function or a lambda.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getKey(f: StackTraceElement): (String, String)
Extract (class-name, method-name) from stack frame.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mkProfilerSummaryTrees(stacks: List[StackTrace]): List[ProfilerSummaryTree]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notAPIFrame(frame: StackTraceElement): Boolean
Is frame not an API call, i.e.
Is frame not an API call, i.e. from a class not starting with "scala.", "java." or "ox.cads."? This is the default filter used when constructing SamplingProfilers.
- def notFunction(frame: StackTraceElement): Boolean
Is frame not an anonymous function (function name containing "$anonfun$"), nor a lambda abstraction (class name containing "$$Lambda$")?
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def print(length: Int = 20, filter: (StackTraceElement) => Boolean = SamplingProfiler.defaultFilter)(store: ArrayBuffer[StackTrace]): String
String representing the stacktraces in store.
String representing the stacktraces in store.
- length
the number of entries to output.
- filter
a filtering function to decide if a given StackTraceElement should be included.
- def printTree(filter: (StackTraceElement) => Boolean = SamplingProfiler.defaultFilter, expand: (ProfilerSummaryTree) => Unit = ProfilerSummaryTree.expand(3))(store: ArrayBuffer[StackTrace]): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncateLeft(st: String, width: Int): String
Print st in a column of width width, truncating on the left.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()