Namespaces | Functions | Variables
sysinfo.cc File Reference
#include "absl/base/internal/sysinfo.h"
#include "absl/base/attributes.h"
#include <fcntl.h>
#include <pthread.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include <cassert>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <limits>
#include <thread>
#include <utility>
#include <vector>
#include "absl/base/call_once.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/spinlock.h"
#include "absl/base/internal/unscaledcycleclock.h"
Include dependency graph for sysinfo.cc:

Go to the source code of this file.

Namespaces

 absl
 
 absl::base_internal
 

Functions

static void absl::base_internal::FreeTID (void *v)
 
static double absl::base_internal::GetNominalCPUFrequency ()
 
static int absl::base_internal::GetNumCPUs ()
 
pid_t absl::base_internal::GetTID ()
 
static std::vector< uint32_t > *tid_array absl::base_internal::GUARDED_BY (tid_lock)
 
static void absl::base_internal::InitGetTID ()
 
static void absl::base_internal::InitializeSystemInfo ()
 
double absl::base_internal::NominalCPUFrequency ()
 
int absl::base_internal::NumCPUs ()
 
static bool absl::base_internal::ReadLongFromFile (const char *file, long *value)
 

Variables

static once_flag absl::base_internal::init_system_info_once
 
static constexpr int absl::base_internal::kBitsPerWord = 32
 
static double absl::base_internal::nominal_cpu_frequency = 1.0
 
static int absl::base_internal::num_cpus = 0
 
static pthread_key_t absl::base_internal::tid_key
 
static absl::base_internal::SpinLock absl::base_internal::tid_lock (absl::base_internal::kLinkerInitialized)
 
static once_flag absl::base_internal::tid_once
 


abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:38