Searched refs:thread_local_time_source_ (Results 1 – 4 of 4) sorted by relevance
91 ScopedSource() : previous_(thread_local_time_source_) { in ScopedSource()92 thread_local_time_source_ = this; in ScopedSource()99 ~ScopedSource() { thread_local_time_source_ = previous_; } in ~ScopedSource()115 static Timestamp Now() { return thread_local_time_source_->Now(); } in Now()163 static thread_local Timestamp::Source* thread_local_time_source_; variable
153 thread_local Timestamp::Source* Timestamp::thread_local_time_source_{
104 ScopedSource() : previous_(thread_local_time_source_) { in ScopedSource()105 thread_local_time_source_ = this; in ScopedSource()112 ~ScopedSource() { thread_local_time_source_ = previous_; } in ~ScopedSource()128 static Timestamp Now() { return thread_local_time_source_->Now(); } in Now()176 static thread_local Timestamp::Source* thread_local_time_source_; variable
152 thread_local Timestamp::Source* Timestamp::thread_local_time_source_{