From 86910577ccfc9da4b5d21a2d1844a4781413c80a Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Thu, 14 Mar 2013 19:00:42 +0000 Subject: A test case for the performance of some LLDB formatters Changes and improvements to the testing infrastructure itself llvm-svn: 177100 --- lldb/tools/lldb-perf/lib/TestCase.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lldb/tools/lldb-perf/lib/TestCase.h') diff --git a/lldb/tools/lldb-perf/lib/TestCase.h b/lldb/tools/lldb-perf/lib/TestCase.h index f2d67de6662..c4d449a330a 100644 --- a/lldb/tools/lldb-perf/lib/TestCase.h +++ b/lldb/tools/lldb-perf/lib/TestCase.h @@ -59,9 +59,15 @@ public: Results () = 0; template - Measurement CreateMeasurement (A a, const char* name = NULL) + Measurement CreateMeasurement (A a, const char* name = NULL, const char* description = NULL) { - return Measurement (a,name); + return Measurement (a,name, description); + } + + template + TimeMeasurement CreateTimeMeasurement (A a, const char* name = NULL, const char* description = NULL) + { + return TimeMeasurement (a,name, description); } static void -- cgit v1.2.3