summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/lib/Timer.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-03-18 22:34:00 +0000
committerGreg Clayton <gclayton@apple.com>2013-03-18 22:34:00 +0000
commit7b8f738227424f9c8105bf1db2bb067d596b228e (patch)
treea4ab33043496478235852e5dc2eeb805bce7e1fb /lldb/tools/lldb-perf/lib/Timer.h
parent8fc340976d28b6719e66014496608a095e6f8ecd (diff)
downloadbcm5719-llvm-7b8f738227424f9c8105bf1db2bb067d596b228e.tar.gz
bcm5719-llvm-7b8f738227424f9c8105bf1db2bb067d596b228e.zip
Code cleanup:
- don't use preprocessor macros - use switch statements - don't put anything in the lldb namespace, use "lldb_perf" namespace. - Pass the action struct into each TestStep() for each step fill in - Modify the ActionWanted class to have accessors to make the continue, next, finish, kill instead of using preproc macros llvm-svn: 177332
Diffstat (limited to 'lldb/tools/lldb-perf/lib/Timer.h')
-rw-r--r--lldb/tools/lldb-perf/lib/Timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/lldb-perf/lib/Timer.h b/lldb/tools/lldb-perf/lib/Timer.h
index c877a3d3c9e..4f8ac15f943 100644
--- a/lldb/tools/lldb-perf/lib/Timer.h
+++ b/lldb/tools/lldb-perf/lib/Timer.h
@@ -15,7 +15,7 @@
using namespace std::chrono;
-namespace lldb { namespace perf
+namespace lldb_perf
{
class TimeGauge : public Gauge<double>
{
@@ -51,6 +51,6 @@ public:
double
value ();
};
-} }
+}
#endif /* defined(__PerfTestDriver__Timer__) */
OpenPOWER on IntegriCloud