class Testify::Tracker::Tracer::Trace(A)

Overview

Represents a trace.

Defined in:

tracer/trace.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from_period : Time::Span, args : Array(Arg(A))) #

[View source]
def self.new(from_period : Time::Span) #

[View source]

Instance Method Detail

def args : Array(Arg(A)) #

Returns arguments added to the Trace instance.


[View source]
def args? : Array(Arg(A)) | Nil #

Returns arguments added to the Trace instance.


[View source]
def args_values? : Array(A) | Nil #

Returns the arguments values provided to the Trace.


[View source]
def elapsed_time : Time::Span #

Elasped time from the start period (from_period provided to initialize).


[View source]
def period : Time::Span #

Period (Time.monotonic) of the trace creation.


[View source]