Namespaces | Macros | Functions
clock.cc File Reference
#include "absl/time/clock.h"
#include "absl/base/attributes.h"
#include <algorithm>
#include <atomic>
#include <cerrno>
#include <cstdint>
#include <ctime>
#include <limits>
#include "absl/base/internal/spinlock.h"
#include "absl/base/internal/unscaledcycleclock.h"
#include "absl/base/macros.h"
#include "absl/base/port.h"
#include "absl/base/thread_annotations.h"
#include "absl/time/internal/get_current_time_posix.inc"
Include dependency graph for clock.cc:

Go to the source code of this file.

Namespaces

 absl
 

Macros

#define ABSL_USE_CYCLECLOCK_FOR_GET_CURRENT_TIME_NANOS   0
 
#define GET_CURRENT_TIME_NANOS_FROM_SYSTEM()   ::absl::time_internal::GetCurrentTimeNanosFromSystem()
 

Functions

ABSL_ATTRIBUTE_WEAK void AbslInternalSleepFor (absl::Duration duration)
 
int64_t absl::GetCurrentTimeNanos ()
 
Time absl::Now ()
 

Macro Definition Documentation

◆ ABSL_USE_CYCLECLOCK_FOR_GET_CURRENT_TIME_NANOS

#define ABSL_USE_CYCLECLOCK_FOR_GET_CURRENT_TIME_NANOS   0

Definition at line 56 of file clock.cc.

◆ GET_CURRENT_TIME_NANOS_FROM_SYSTEM

#define GET_CURRENT_TIME_NANOS_FROM_SYSTEM ( )    ::absl::time_internal::GetCurrentTimeNanosFromSystem()

Definition at line 68 of file clock.cc.

Function Documentation

◆ AbslInternalSleepFor()

ABSL_ATTRIBUTE_WEAK void AbslInternalSleepFor ( absl::Duration  duration)

Definition at line 553 of file clock.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22