summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/lib/TestCase.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-perf/lib/TestCase.h')
-rw-r--r--lldb/tools/lldb-perf/lib/TestCase.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/tools/lldb-perf/lib/TestCase.h b/lldb/tools/lldb-perf/lib/TestCase.h
index 3102d371ad6..733967bb2c9 100644
--- a/lldb/tools/lldb-perf/lib/TestCase.h
+++ b/lldb/tools/lldb-perf/lib/TestCase.h
@@ -102,6 +102,12 @@ public:
return TimeMeasurement<A> (a,name, description);
}
+ template <typename A>
+ MemoryMeasurement<A> CreateMemoryMeasurement (A a, const char* name = NULL, const char* description = NULL)
+ {
+ return MemoryMeasurement<A> (a,name, description);
+ }
+
static void
Run (TestCase& test, int argc, const char** argv);
OpenPOWER on IntegriCloud