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.
161 162 163 164 165 166 |
# File 'lib/roby/droby/timepoints.rb', line 161 def initialize(name = "root") super() @name = name @level = 0 end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
159 160 161 |
# File 'lib/roby/droby/timepoints.rb', line 159 def level @level end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
159 160 161 |
# File 'lib/roby/droby/timepoints.rb', line 159 def name @name end |