Separate benchmark tool from rpc-port
[platform/core/appfw/rpc-port.git] / benchmark / tool / options.hh
index fefef21..71e357a 100644 (file)
@@ -54,6 +54,10 @@ class Options {
     return is_grpc_;
   }
 
+  bool ShouldPrintTime() const {
+    return should_print_time_;
+  }
+
  private:
   enum Cmd {
     CMD_VERSION,
@@ -68,6 +72,7 @@ class Options {
     OPT_FUNCTION,
     OPT_DBUS,
     OPT_GRPC,
+    OPT_TIME,
     OPT_MAX
   };
 
@@ -83,6 +88,7 @@ class Options {
   bool is_all_ = false;
   bool is_dbus_ = false;
   bool is_grpc_ = false;
+  bool should_print_time_ = false;
 };
 
 }  // namespace benchmark