Add a Stopwatch utility class to lldbench.py module and initialize an instance of
Stopwatch (self.swatch) within the BenchBase's setUp() instance method to be available
to all the child classes.

Use self.swatch to measure elapsed time in TestRepeatedExprs.py, which needs to be
modified later on to actually measure repeated expression evaluations within the
context of lldb as well as gdb.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136664 91177308-0d34-0410-b5e6-96231b3b80d8
5 files changed