summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/common/stepping/lldb-perf-stepping.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove lldb-perfJonas Devlieghere2019-07-081-287/+0
| | | | | | | | | As discussed offline, this tool is no longer used or maintained, and doesn't provide the right abstraction for performance tracking in lldb. Differential revision: https://reviews.llvm.org/D64362 llvm-svn: 365391
* *** This commit represents a complete reformatting of the LLDB source codeKate Stone2016-09-061-288/+240
| | | | | | | | | | | | | | | | | | | | | | | *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
* More updates to test casesEnrico Granata2013-04-151-1/+2
| | | | llvm-svn: 179560
* <rdar://problem/13457391>Greg Clayton2013-04-041-1/+1
| | | | | | 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(). llvm-svn: 178789
* Integrating option parsing in TestCase for added convenienceEnrico Granata2013-04-011-1/+1
| | | | | | | | | 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 llvm-svn: 178482
* Change the stepping test to output "total time" for the step as well.Jim Ingham2013-03-261-12/+17
| | | | llvm-svn: 178043
* Make the stepping perf test case actually work.Jim Ingham2013-03-261-15/+262
| | | | llvm-svn: 177964
* Much more cleanup on the performance testing infrastructure:Greg Clayton2013-03-221-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 llvm-svn: 177696
* The outline of the stepping perf test case, doesn't do anything yet.Jim Ingham2013-03-211-0/+67
llvm-svn: 177646
OpenPOWER on IntegriCloud