class Roby::DRoby::Timepoints::Point

Attributes

duration[R]
group[R]
name[R]
time[R]

Public Class Methods

new(time, name, duration, group) click to toggle source
# File lib/roby/droby/timepoints.rb, line 67
def initialize(time, name, duration, group)
    @time = time
    @name = name
    @duration = duration
    @group = group
end

Public Instance Methods

end_time() click to toggle source
# File lib/roby/droby/timepoints.rb, line 83
def end_time; time end
flamegraph() click to toggle source
# File lib/roby/droby/timepoints.rb, line 78
def flamegraph
    [path, duration]
end
path() click to toggle source
# File lib/roby/droby/timepoints.rb, line 74
def path
    group.path + [name]
end
start_time() click to toggle source
# File lib/roby/droby/timepoints.rb, line 82
def start_time; time end