Class: OneApm::Support::TracedMethodFrame

Inherits:
Object
  • Object
show all
Defined in:
lib/one_apm/support/traced_method_stack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag, start_time) ⇒ TracedMethodFrame

Returns a new instance of TracedMethodFrame.



11
12
13
14
15
# File 'lib/one_apm/support/traced_method_stack.rb', line 11

def initialize(tag, start_time)
  @tag = tag
  @start_time = start_time
  @children_time = 0
end

Instance Attribute Details

#children_timeObject

Returns the value of attribute children_time.



9
10
11
# File 'lib/one_apm/support/traced_method_stack.rb', line 9

def children_time
  @children_time
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/one_apm/support/traced_method_stack.rb', line 9

def name
  @name
end

#start_timeObject

Returns the value of attribute start_time.



9
10
11
# File 'lib/one_apm/support/traced_method_stack.rb', line 9

def start_time
  @start_time
end

#tagObject (readonly)

Returns the value of attribute tag.



8
9
10
# File 'lib/one_apm/support/traced_method_stack.rb', line 8

def tag
  @tag
end