summaryrefslogtreecommitdiffstats
path: root/lldb/examples/summaries/cocoa/cache.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-04-25 01:39:27 +0000
committerEnrico Granata <egranata@apple.com>2012-04-25 01:39:27 +0000
commit28399adad81b53c5d5bab1b2db967ca33c92c2c2 (patch)
treef83813732680e2cf8fdd9a638d4ca3f07da96584 /lldb/examples/summaries/cocoa/cache.py
parent5b4ab4c848f13458e6f3a405df8f1e45eb120d7e (diff)
downloadbcm5719-llvm-28399adad81b53c5d5bab1b2db967ca33c92c2c2.tar.gz
bcm5719-llvm-28399adad81b53c5d5bab1b2db967ca33c92c2c2.zip
Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again
llvm-svn: 155526
Diffstat (limited to 'lldb/examples/summaries/cocoa/cache.py')
-rw-r--r--lldb/examples/summaries/cocoa/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/examples/summaries/cocoa/cache.py b/lldb/examples/summaries/cocoa/cache.py
index ea8df5946c8..066829d80d4 100644
--- a/lldb/examples/summaries/cocoa/cache.py
+++ b/lldb/examples/summaries/cocoa/cache.py
@@ -5,12 +5,12 @@ part of The LLVM Compiler Infrastructure
This file is distributed under the University of Illinois Open Source
License. See LICENSE.TXT for details.
"""
-import metrics
+import lldb.formatters.metrics
class Cache:
def __init__(self):
self.data = {}
- self.statistics = metrics.Metrics()
+ self.statistics = lldb.formatters.metrics.Metrics()
self.statistics.add_metric('hit')
self.statistics.add_metric('miss')
OpenPOWER on IntegriCloud