struct Apm::Span

Defined in:

apm.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(label : String = "", start : Time::Span | Nil = nil, finish : Time::Span | Nil = nil) #

[View source]

Instance Method Detail

def add_finish_time(finished_at) #

[View source]
def clone #

[View source]
def copy_with(label _label = @label, start _start = @start, finish _finish = @finish) #

[View source]
def finish : Time::Span | Nil #

def interval #

[View source]
def label : String #

def report #

[View source]
def start : Time::Span | Nil #

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]