Class: D13n::Metric::Stream::StackFrame
- Inherits:
-
Object
- Object
- D13n::Metric::Stream::StackFrame
- Defined in:
- lib/d13n/metric/stream/traced_span_stack.rb
Instance Attribute Summary collapse
-
#children_time ⇒ Object
Returns the value of attribute children_time.
-
#end_time ⇒ Object
Returns the value of attribute end_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) ⇒ StackFrame
constructor
A new instance of StackFrame.
Constructor Details
#initialize(tag, start_time) ⇒ StackFrame
Returns a new instance of StackFrame.
7 8 9 10 11 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 7 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.
6 7 8 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 6 def children_time @children_time end |
#end_time ⇒ Object
Returns the value of attribute end_time.
6 7 8 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 6 def end_time @end_time end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 6 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time.
6 7 8 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 6 def start_time @start_time end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
5 6 7 |
# File 'lib/d13n/metric/stream/traced_span_stack.rb', line 5 def tag @tag end |