ProfileFunction class

A ProfileFunction contains profiling information about a Dart or native function.

See CpuSamples.

Constructors

ProfileFunction({@required String kind, @required int inclusiveTicks, @required int exclusiveTicks, @required String resolvedUrl, @required dynamic function})

Properties

exclusiveTicks int
The number of times function appeared on the top of the stack during sampling events.
read / write
function ↔ dynamic
The function captured during profiling.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inclusiveTicks int
The number of times function appeared on the stack during sampling events.
read / write
kind String
The kind of function this object represents.
read / write
resolvedUrl String
The resolved URL for the script containing function.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

parse(Map<String, dynamic> json) ProfileFunction