aboutsummaryrefslogtreecommitdiff
path: root/tests/lnttool/Profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lnttool/Profile.py')
-rw-r--r--tests/lnttool/Profile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lnttool/Profile.py b/tests/lnttool/Profile.py
index f6c3c62..807eb55 100644
--- a/tests/lnttool/Profile.py
+++ b/tests/lnttool/Profile.py
@@ -4,8 +4,8 @@
# RUN: lnt profile getTopLevelCounters %S/Inputs/test.lntprof | FileCheck --check-prefix=CHECK-GETTLC %s
# CHECK-GETTLC: {"cycles": 12345.0, "branch-misses": 200.0}
-# RUN: lnt profile getFunctions %S/Inputs/test.lntprof | FileCheck --check-prefix=CHECK-GETFUNCTIONS %s
-# CHECK-GETFUNCTIONS: {"fn1": {"length": 2, "counters": {"cycles": 45.0, "branch-misses": 10.0}}}
+# RUN: lnt profile getFunctions --sortkeys %S/Inputs/test.lntprof | FileCheck --check-prefix=CHECK-GETFUNCTIONS %s
+# CHECK-GETFUNCTIONS: {"fn1": {"counters": {"branch-misses": 10.0, "cycles": 45.0}, "length": 2}}
# RUN: lnt profile getCodeForFunction %S/Inputs/test.lntprof fn1 | FileCheck --check-prefix=CHECK-GETFN1 %s
# CHECK-GETFN1: [{}, 1048576, "add r0, r0, r0"], [{"cycles": 100.0}, 1048580, "sub r1, r0, r0"]]