summaryrefslogtreecommitdiff
path: root/absl/time/clock.cc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2021-01-14 01:36:48 -0800
committerGravatar Andy Getz <durandal@google.com>2021-01-14 11:20:44 -0500
commitff361eb3aac20f08ec7b1ccfdd3204b0aa6cbe33 (patch)
tree37e007fd0b29938b8461b1998885fe64a9465703 /absl/time/clock.cc
parent64461421222f8be8663c50e8e82c91c3f95a0d3c (diff)
Export of internal Abseil changes
-- e36760a8db7f0417dad3429987c2b026278a1e07 by Andy Getzendanner <durandal@google.com>: Nit: s/GUARDED_BY/ABSL_GUARDED_BY/ PiperOrigin-RevId: 351752933 GitOrigin-RevId: e36760a8db7f0417dad3429987c2b026278a1e07 Change-Id: Ib8394f030092b1832adde759cd37e0207acc7e4b
Diffstat (limited to 'absl/time/clock.cc')
-rw-r--r--absl/time/clock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/clock.cc b/absl/time/clock.cc
index cb9c7b32..c61dcc03 100644
--- a/absl/time/clock.cc
+++ b/absl/time/clock.cc
@@ -180,7 +180,7 @@ struct ABSL_CACHELINE_ALIGNED TimeState {
int64_t stats_slow_paths{0};
int64_t stats_fast_slow_paths{0};
- uint64_t last_now_cycles GUARDED_BY(lock){0};
+ uint64_t last_now_cycles ABSL_GUARDED_BY(lock){0};
// Used by GetCurrentTimeNanosFromKernel().
// We try to read clock values at about the same time as the kernel clock.