177ac0db135db53edd2c6158d8e3190d2e78b566 |
|
15-Apr-2013 |
Enrico Granata <egranata@apple.com> |
More updates to test cases git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
3f2f741bb533b78e2fac5332c4698338ea2fd3ac |
|
04-Apr-2013 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/13457391> LLDB now can use a single dash for all long options for all commands form the command line and from the command interpreter. This involved just switching all calls from getopt_long() to getopt_long_only(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
b1b36ec6dcfbe7c7dfa423d50cb7c2296deca68e |
|
01-Apr-2013 |
Enrico Granata <egranata@apple.com> |
Integrating option parsing in TestCase for added convenience To hook it up to individual test cases: - define GetLongOptions() in your test case class to return something other than NULL (hopefully an array of options :-) - implement ParseOption() to check for the short option char and do the right thing - return true at the end if you want more options to come your way or false if you don’t - make sure that your Setup() call takes int& and char**& so that optind post-processing can happen - and call TestCase::Setup from your setup git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178482 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
094e2a9b484381bd35d95090c7501b1e3880e92f |
|
26-Mar-2013 |
Jim Ingham <jingham@apple.com> |
Change the stepping test to output "total time" for the step as well. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178043 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
0b51bed6fbaa9d63730d54a2891e9d73d5bec773 |
|
26-Mar-2013 |
Jim Ingham <jingham@apple.com> |
Make the stepping perf test case actually work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177964 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
9de4dec874148d30cc1d4c498d38cd048a8164ca |
|
22-Mar-2013 |
Greg Clayton <gclayton@apple.com> |
Much more cleanup on the performance testing infrastructure: - Added new abtract Results class to keep CoreFoundation out of the tests. There are many subclasses for different settings: Results::Result::Dictionary Results::Result::Array Results::Result::Unsigned Results::Result::Double Results::Result::String - Gauge<T> can now write themselves out via a templatized write to results function: template <class T> Results::ResultSP GetResult (const char *description, T value); - There are four specializations of this so far: template <> Results::ResultSP GetResult (const char *description, double value); template <> Results::ResultSP GetResult (const char *description, uint64_t value); template <> Results::ResultSP GetResult (const char *description, std::string value); template <> Results::ResultSP GetResult (const char *description, MemoryStats value); - Don't emit the virtual memory reading from the task info call as it really doesn't mean much as it includes way too much (shared cache + other stuff we don't have control over) - Fixed other test cases to build correctly and use the new classes git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|
a3df3b0c89ab584262098f8d877e8a72e3614a08 |
|
21-Mar-2013 |
Jim Ingham <jingham@apple.com> |
The outline of the stepping perf test case, doesn't do anything yet. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
|