From fd0a861cdb3088f60ee56a8adef05fd50b71f817 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sat, 9 Feb 2019 23:48:14 +0800 Subject: src: unify uptime base used across the code base This patch joins `per_process::prog_start_time` (a double) and `performance::performance_node_start` (a uint64_t) into a `per_process::node_start_time` (a uint64_t) which gets initialized in `node::Start()`. PR-URL: https://github.com/nodejs/node/pull/26016 Reviewed-By: Anna Henningsen --- src/node_perf_common.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/node_perf_common.h') diff --git a/src/node_perf_common.h b/src/node_perf_common.h index 1c4cf01c871..5c972c9841a 100644 --- a/src/node_perf_common.h +++ b/src/node_perf_common.h @@ -18,7 +18,6 @@ namespace performance { // These occur before the environment is created. Cache them // here and add them to the milestones when the env is init'd. -extern uint64_t performance_node_start; extern uint64_t performance_v8_start; #define NODE_PERFORMANCE_MILESTONES(V) \ -- cgit v1.2.3