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))) #

def self.new(from_period : Time::Span) #

Instance Method Detail

def args : Array(Arg(A)) #

Returns arguments added to the Trace instance.


def args? : Array(Arg(A))? #

Returns arguments added to the Trace instance.


def args_values? : Array(A)? #

Returns the arguments values provided to the Trace.


def elapsed_time : Time::Span #

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


def period : Time::Span #

Period (Time.monotonic) of the trace creation.