[Lldb-commits] [lldb] r177343 - Add a comment about how to add a target for a test case.

Jim Ingham jingham at apple.com
Mon Mar 18 16:08:30 PDT 2013


Author: jingham
Date: Mon Mar 18 18:08:30 2013
New Revision: 177343

URL: http://llvm.org/viewvc/llvm-project?rev=177343&view=rev
Log:
Add a comment about how to add a target for a test case.

Modified:
    lldb/trunk/tools/lldb-perf/README

Modified: lldb/trunk/tools/lldb-perf/README
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-perf/README?rev=177343&r1=177342&r2=177343&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-perf/README (original)
+++ lldb/trunk/tools/lldb-perf/README Mon Mar 18 18:08:30 2013
@@ -9,6 +9,8 @@ Its main concepts are:
 - Measurements: a measurement is the thing that stores an action, a gauge and a metric. essentially, you define measurements as in “take the time to run this function”, “take the memory to run this block of code”, and then after you invoke it, your stats will be automagically there
 - Tests: a test is a sequence of steps and measurements
 
+Tests cases should be added as targets to the lldbperf.xcodeproj project.  It is probably easiest to duplicate one of the existing targets.
+
 In order to write a test based on lldb-perf, you need to subclass lldb::perf::TestCase, as in:
 
 using namespace lldb::perf;





More information about the lldb-commits mailing list