Namespaces | Functions
duration.cc File Reference
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cerrno>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <functional>
#include <limits>
#include <string>
#include "absl/base/casts.h"
#include "absl/numeric/int128.h"
#include "absl/time/time.h"
Include dependency graph for duration.cc:

Go to the source code of this file.

Namespaces

namespace  absl
namespace  absl::time_internal

Functions

Duration absl::Ceil (const Duration d, const Duration unit)
Duration absl::DurationFromTimespec (timespec ts)
Duration absl::DurationFromTimeval (timeval tv)
double absl::FDivDuration (Duration num, Duration den)
Duration absl::Floor (const Duration d, const Duration unit)
std::string absl::FormatDuration (Duration d)
int64_t absl::time_internal::IDivDuration (bool satq, const Duration num, const Duration den, Duration *rem)
bool absl::ParseDuration (const std::string &dur_string, Duration *d)
bool absl::ParseFlag (const std::string &text, Duration *dst, std::string *)
std::chrono::hours absl::ToChronoHours (Duration d)
std::chrono::microseconds absl::ToChronoMicroseconds (Duration d)
std::chrono::milliseconds absl::ToChronoMilliseconds (Duration d)
std::chrono::minutes absl::ToChronoMinutes (Duration d)
std::chrono::nanoseconds absl::ToChronoNanoseconds (Duration d)
std::chrono::seconds absl::ToChronoSeconds (Duration d)
double absl::ToDoubleHours (Duration d)
double absl::ToDoubleMicroseconds (Duration d)
double absl::ToDoubleMilliseconds (Duration d)
double absl::ToDoubleMinutes (Duration d)
double absl::ToDoubleNanoseconds (Duration d)
double absl::ToDoubleSeconds (Duration d)
int64_t absl::ToInt64Hours (Duration d)
int64_t absl::ToInt64Microseconds (Duration d)
int64_t absl::ToInt64Milliseconds (Duration d)
int64_t absl::ToInt64Minutes (Duration d)
int64_t absl::ToInt64Nanoseconds (Duration d)
int64_t absl::ToInt64Seconds (Duration d)
timespec absl::ToTimespec (Duration d)
timeval absl::ToTimeval (Duration d)
Duration absl::Trunc (Duration d, Duration unit)
std::string absl::UnparseFlag (Duration d)

Variable Documentation

const char* abbr [static]

Definition at line 706 of file duration.cc.

double pow10

Definition at line 708 of file duration.cc.

int prec

Definition at line 707 of file duration.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16