summaryrefslogtreecommitdiff
path: root/src/node_perf_common.h
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-02-09 23:48:14 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-02-18 17:58:22 +0800
commitfd0a861cdb3088f60ee56a8adef05fd50b71f817 (patch)
treeb99a8fd488e5e6da3c2aaf592a98a7120dbb1292 /src/node_perf_common.h
parent2ae45d3b17f9c51fccffc4041e195e04b4b18c15 (diff)
downloadandroid-node-v8-fd0a861cdb3088f60ee56a8adef05fd50b71f817.tar.gz
android-node-v8-fd0a861cdb3088f60ee56a8adef05fd50b71f817.tar.bz2
android-node-v8-fd0a861cdb3088f60ee56a8adef05fd50b71f817.zip
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 <anna@addaleax.net>
Diffstat (limited to 'src/node_perf_common.h')
-rw-r--r--src/node_perf_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_perf_common.h b/src/node_perf_common.h
index 1c4cf01c87..5c972c9841 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) \