Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: tools/telemetry/telemetry/core/timeline/tracing/sample.py

Issue 19790005: Reland [telemetry] Timeline model cleanups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/timeline/tracing/sample.py
diff --git a/tools/telemetry/telemetry/core/timeline/tracing/sample.py b/tools/telemetry/telemetry/core/timeline/tracing/sample.py
deleted file mode 100644
index 5f7f672d9d478593812a5da16b9c9df1b3d54550..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/timeline/tracing/sample.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import telemetry.core.timeline.event as timeline_event
-
-class Sample(timeline_event.TimelineEvent):
- ''' A Sample represents a sample taken at an instant in time
- plus parameters associated with that sample.
-
- NOTE: The Sample class implements the same interface as
- Slice. These must be kept in sync.
-
- All time units are stored in milliseconds.
- '''
- def __init__(self, category, name, timestamp, args=None, parent=None):
- super(Sample, self).__init__(
- name, timestamp, 0, args=args, parent=parent)
- self.category = category
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/tracing/process.py ('k') | tools/telemetry/telemetry/core/timeline/tracing/slice.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698