From 4dabf3100574c21551480e47acd776c686b88c67 Mon Sep 17 00:00:00 2001 From: Mislav Bradac Date: Mon, 17 Jul 2017 15:42:12 +0200 Subject: [PATCH] Remove unused function time_second Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D561 --- src/query/interpreter.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/query/interpreter.hpp b/src/query/interpreter.hpp index f5ce97146..3414cc59e 100644 --- a/src/query/interpreter.hpp +++ b/src/query/interpreter.hpp @@ -146,11 +146,6 @@ class Interpreter { } auto execution_time = execution_timer.Elapsed(); - // helper function for calculating time in seconds - auto time_second = [](clock_t start, clock_t end) { - return TypedValue(double(end - start) / CLOCKS_PER_SEC); - }; - summary["query_parsing_time"] = frontend_time.count(); summary["query_planning_time"] = planning_time.count(); summary["query_plan_execution_time"] = execution_time.count();