Remove unused function time_second

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D561
This commit is contained in:
Mislav Bradac 2017-07-17 15:42:12 +02:00
parent 10ded31eac
commit 4dabf31005

View File

@ -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();