aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/thermal.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/thermal.py')
-rw-r--r--docs/examples/thermal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/thermal.py b/docs/examples/thermal.py
index 2b3e0bb..8fe3e95 100644
--- a/docs/examples/thermal.py
+++ b/docs/examples/thermal.py
@@ -30,7 +30,7 @@ class TestThermal(unittest.TestCase):
# Which then copies the required traces for analysis to
# the host.
trace_file = "update_a_trace_path_here"
- run = trappy.Run(trace_file, "test_run")
+ ftrace = trappy.FTrace(trace_file, "test_run")
# Define the parameters that you intend to use in the grammar
config = {}
@@ -48,7 +48,7 @@ class TestThermal(unittest.TestCase):
cls.BIG = '000000f0'
cls.LITTLE = '0000000f'
cls.tz = 0
- cls.analyzer = Analyzer(run, config)
+ cls.analyzer = Analyzer(ftrace, config)
def test_temperature_quartile(self):
"""Assert Temperature quartile"""