struct Protocol::Profiler::PreciseCoverageDeltaUpdate

Overview

Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.

Included Modules

Defined in:

protocol/profiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def occasion : String #

Identifier for distinguishing coverage events.


[View source]
def result : Array(ScriptCoverage) #

Coverage data for the current isolate.


[View source]
def timestamp : Number::Primitive #

Monotonically increasing time (in seconds) when the coverage update was taken in the backend.


[View source]