From cc73f7e20f8534b0986bcc9a41e99511109546d7 Mon Sep 17 00:00:00 2001 From: JINMEI Tatuya Date: Mon, 2 Apr 2012 15:17:38 -0700 Subject: [PATCH] [1773] comment updates due to interface changes as part of fix. --- src/lib/bench/benchmark.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/bench/benchmark.h b/src/lib/bench/benchmark.h index 22ae7e70c7..50232592df 100644 --- a/src/lib/bench/benchmark.h +++ b/src/lib/bench/benchmark.h @@ -241,14 +241,16 @@ public: /// /// This method will be called from \c run() before starting the benchmark. /// By default it's empty, but can be customized via template - /// specialization. + /// specialization. When specialized, a reference to the target object + /// given to the constructor will be passed to the implementation. void setUp(T&) {} /// \brief Hook to be called after benchmark. /// /// This method will be called from \c run() when the benchmark completes. /// By default it's empty, but can be customized via template - /// specialization. + /// specialization. When specialized, a reference to the target object + /// given to the constructor will be passed to the implementation. void tearDown(T&) {} /// \brief Perform benchmark.