History log of /external/lldb/examples/python/disasm-stress-test.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d897b288cae2cd295bc156ce1cb10a71930fb726 14-Apr-2012 Sean Callanan <scallanan@apple.com> Added a --lldb option to override the location
of LLDB.framework.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm-stress-test.py
9f29ecdd214784a174a08ab1573c5fcf58ec91ef 07-Apr-2012 Sean Callanan <scallanan@apple.com> The remaining time calculation didn't reflect the
--start argument. Fixed that.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154221 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm-stress-test.py
61d39dd38d2e744e83dc7b3d710dbf76bfb0233c 06-Apr-2012 Sean Callanan <scallanan@apple.com> Removed a call to truncate() which slowed down
the stress test by a LOT.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm-stress-test.py
364b48edd69b329d7b3e3b1e04f58225758d1e02 06-Apr-2012 Sean Callanan <scallanan@apple.com> Updated the disassembler stress tester with two
new features:

(1) it outputs the instruction currently being
tested to a log file, if a path is provided

(2) if instructed, it prints the time remaining
in the exhaustive test


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154205 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm-stress-test.py
ac326175e94f8e145a263884ac49bd8c1907fb7f 06-Apr-2012 Sean Callanan <scallanan@apple.com> Added a stress-tester for LLDB's disassembler.
Right now it only works on Mac OS X, but other
platforms would just need to add their own
implementation of AddLLDBToSysPathOn*().

The stress-tester has two modes:

Used with --bytes N --random, the stress-tester
generates random instructions of length N and
runs them through the disassembler. This is
suitable for architectures like Intel where it
is combinatorially infeasible to run through the
entire space of possible instructions.

Used with --bytes N and no arguments (or --start
S --stride T), the stress-tester tests the
disassembler with a monotonically increasing
sequence of instructions.

The --start and --stride arguments are intended
for use in multiprocessing environments. Give
each core an ID from 0 .. T-1, pass the ID in as
the --start, and use T as the stride, and you
can launch one copy of the stress-tester on each
core you have available.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/python/disasm-stress-test.py