Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / timeline / flow_event.py
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
5 import telemetry.core.timeline.event as event
6
7 class FlowEvent(event.TimelineEvent):
8   ''' A FlowEvent represents an interval of time plus parameters associated
9   with that interval.
10   '''
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