Class: Roby::DRoby::Timepoints::Root
- Defined in:
- lib/roby/droby/timepoints.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Aggregate
Instance Method Summary collapse
-
#initialize(name = 'root') ⇒ Root
constructor
A new instance of Root.
Methods inherited from Aggregate
#add, #duration, #end_time, #flamegraph, #format, #group_end, #group_start, #path, #start_time
Constructor Details
#initialize(name = 'root') ⇒ Root
Returns a new instance of Root.
163 164 165 166 167 168 |
# File 'lib/roby/droby/timepoints.rb', line 163 def initialize(name = 'root') super() @name = name @level = 0 end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
161 162 163 |
# File 'lib/roby/droby/timepoints.rb', line 161 def level @level end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
160 161 162 |
# File 'lib/roby/droby/timepoints.rb', line 160 def name @name end |