diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/optrack/optrack.c')
-rw-r--r-- | src/third_party/wiredtiger/src/optrack/optrack.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/third_party/wiredtiger/src/optrack/optrack.c b/src/third_party/wiredtiger/src/optrack/optrack.c index 72789c4a154..4ac56391f15 100644 --- a/src/third_party/wiredtiger/src/optrack/optrack.c +++ b/src/third_party/wiredtiger/src/optrack/optrack.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014-2017 MongoDB, Inc. + * Copyright (c) 2014-2018 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -107,17 +107,3 @@ __wt_optrack_flush_buffer(WT_SESSION_IMPL *s) else return (0); } - -/* - * __wt_optrack_get_expensive_timestamp -- - * Obtain a timestamp via a system call on platforms where obtaining it - * directly from the hardware register is not supported. - */ -uint64_t -__wt_optrack_get_expensive_timestamp(WT_SESSION_IMPL *session) -{ - struct timespec tsp; - - __wt_epoch_raw(session, &tsp); - return ((uint64_t)(tsp.tv_sec * WT_BILLION + tsp.tv_nsec)); -} |