History log of /external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
17a9d265c78823373cd36890f8b0f63e96d223c8 03-May-2013 Enrico Granata <egranata@apple.com> <rdar://problem/13732521>

Updated the logic for the Sketch test case

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
4d77c182b3b4fd418ccb488469aa18262bfe481b 15-Apr-2013 Enrico Granata <egranata@apple.com> Sketch test now runs 10 times
Data formatters test outputs stddev

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
ec87e5c098f1ce1c9182d1c5438e0beca0996597 15-Apr-2013 Enrico Granata <egranata@apple.com> Enabling test case to write the average+stddev pair to the results
The sketch test case writes avg+stddev for all its metrics:
<key>fetch-frames</key>
<dict>
<key>description</key>
<string>time to dump backtrace for every frame in every thread</string>
<key>stddev</key>
<real>0.006270938361432314</real>
<key>value</key>
<real>0.011568079851851851</real>
</dict>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
b8158c8227c34b0fde91cf8602003f250bead007 15-Apr-2013 Enrico Granata <egranata@apple.com> - Adding a relaunch feature to the performance tester: you can use the relaunch if you want to measure multiple runs of your app keeping the same metrics alive. New arguments must be supplied - and the step counter will not be reset (this makes it easy to avoid endless loops)
- Having the Sketch test case relaunch itself

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
6e792e9565c78f96ef5e0e36d467f724fd4efbf2 12-Apr-2013 Enrico Granata <egranata@apple.com> Sketch test case improvements:
- use the TestCase option parsing
- dump output to stdout when no file is provided

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.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/darwin/sketch/sketch.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/darwin/sketch/sketch.cpp
51a53958518a1b2aa4b8c37276dcc3a2516c00a5 01-Apr-2013 Enrico Granata <egranata@apple.com> Proper option parser for the Sketch test case

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.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/darwin/sketch/sketch.cpp
d3a8d6565ff40fd99533f50a085ace806a9300ee 21-Mar-2013 Greg Clayton <gclayton@apple.com> Add correct file headers to all source files.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp
3ffb7ed9e634aabc330acdb4a369646caa08c6a2 20-Mar-2013 Enrico Granata <egranata@apple.com> Renaming perf. main files from main.cpp to something meaningful

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/darwin/sketch/sketch.cpp