aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.perf/lib/perftest/perftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.perf/lib/perftest/perftest.py')
-rw-r--r--gdb/testsuite/gdb.perf/lib/perftest/perftest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.perf/lib/perftest/perftest.py b/gdb/testsuite/gdb.perf/lib/perftest/perftest.py
index 0726641..202ba3f 100644
--- a/gdb/testsuite/gdb.perf/lib/perftest/perftest.py
+++ b/gdb/testsuite/gdb.perf/lib/perftest/perftest.py
@@ -18,7 +18,8 @@ from __future__ import absolute_import
import perftest.testresult as testresult
import perftest.reporter as reporter
from perftest.measure import Measure
-from perftest.measure import MeasurementCpuTime
+from perftest.measure import MeasurementPerfCounter
+from perftest.measure import MeasurementProcessTime
from perftest.measure import MeasurementWallTime
from perftest.measure import MeasurementVmSize
@@ -72,7 +73,8 @@ class TestCaseWithBasicMeasurements(TestCase):
def __init__(self, name):
result_factory = testresult.SingleStatisticResultFactory()
measurements = [
- MeasurementCpuTime(result_factory.create_result()),
+ MeasurementPerfCounter(result_factory.create_result()),
+ MeasurementProcessTime(result_factory.create_result()),
MeasurementWallTime(result_factory.create_result()),
MeasurementVmSize(result_factory.create_result()),
]