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.
5 import telemetry.core.timeline.event as event
7 class FlowEvent(event.TimelineEvent):
8 ''' A FlowEvent represents an interval of time plus parameters associated
11 def __init__(self, category, event_id, name, start, args=None):
12 super(FlowEvent, self).__init__(
13 category, name, start, duration=0, args=args)
14 self.event_id = event_id