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

Unified Diff: tools/telemetry/telemetry/core/heap/model.py

Issue 962673002: Telemetry: remove the heap snapshot half-feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 5 years, 10 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/heap/model.py
diff --git a/tools/telemetry/telemetry/core/heap/model.py b/tools/telemetry/telemetry/core/heap/model.py
deleted file mode 100644
index 551716e6441270d560b646aba479145422f77d8e..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/heap/model.py
+++ /dev/null
@@ -1,22 +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.
-
-from telemetry.core.heap import chrome_js_heap_snapshot_parser
-
-
-class Model(object):
- """ The heap snapshot model is a set of LiveHeapObjects. The LiveHeapObjects
- contain the RetainingEdge objects describing the relationships between the
- LiveHeapObjects."""
-
- def __init__(self, raw_data):
- if not chrome_js_heap_snapshot_parser.ChromeJsHeapSnapshotParser.CanImport(
- raw_data):
- raise ValueError("Cannot import snapshot data")
- parser = chrome_js_heap_snapshot_parser.ChromeJsHeapSnapshotParser(raw_data)
- self._all_live_heap_objects = parser.GetAllLiveHeapObjects()
-
- @property
- def all_live_heap_objects(self):
- return self._all_live_heap_objects
« no previous file with comments | « tools/telemetry/telemetry/core/heap/live_heap_object.py ('k') | tools/telemetry/telemetry/core/heap/retaining_edge.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698