1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import telemetry.timeline.event as event
6
7
8class FlowEvent(event.TimelineEvent):
9  """A FlowEvent represents an interval of time plus parameters associated
10  with that interval.
11  """
12  def __init__(self, category, event_id, name, start, args=None):
13    super(FlowEvent, self).__init__(
14        category, name, start, duration=0, args=args)
15    self.event_id = event_id
16