Class: TingYun::Agent::TracedMethodFrame
- Inherits:
-
Object
- Object
- TingYun::Agent::TracedMethodFrame
- Defined in:
- lib/ting_yun/agent/transaction/traced_method_stack.rb
Instance Attribute Summary collapse
-
#children_time ⇒ Object
Returns the value of attribute children_time.
-
#name ⇒ Object
Returns the value of attribute name.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(tag, start_time) ⇒ TracedMethodFrame
constructor
A new instance of TracedMethodFrame.
Constructor Details
#initialize(tag, start_time) ⇒ TracedMethodFrame
Returns a new instance of TracedMethodFrame.
9 10 11 12 13 |
# File 'lib/ting_yun/agent/transaction/traced_method_stack.rb', line 9 def initialize(tag, start_time) @tag = tag @start_time = start_time @children_time = 0 end |
Instance Attribute Details
#children_time ⇒ Object
Returns the value of attribute children_time.
8 9 10 |
# File 'lib/ting_yun/agent/transaction/traced_method_stack.rb', line 8 def children_time @children_time end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/ting_yun/agent/transaction/traced_method_stack.rb', line 8 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time.
8 9 10 |
# File 'lib/ting_yun/agent/transaction/traced_method_stack.rb', line 8 def start_time @start_time end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
7 8 9 |
# File 'lib/ting_yun/agent/transaction/traced_method_stack.rb', line 7 def tag @tag end |