14#ifndef OR_TOOLS_BASE_LOGGING_UTILITIES_H_
15#define OR_TOOLS_BASE_LOGGING_UTILITIES_H_
19#include "absl/base/internal/sysinfo.h"
20#include "absl/base/macros.h"
21#include "absl/synchronization/mutex.h"
25namespace logging_internal {
52 return __sync_val_compare_and_swap(ptr, oldval, newval);
void DumpStackTraceToString(std::string *stacktrace)
T sync_val_compare_and_swap(T *ptr, T oldval, T newval)
void InitGoogleLoggingUtilities(const char *argv0)
const char * ProgramInvocationShortName()
const std::string & MyUserName()
void SetCrashReason(const CrashReason *r)
bool IsGoogleLoggingInitialized()
void ShutdownGoogleLoggingUtilities()
int64 UsecToCycles(int64 usec)
const char * const_basename(const char *filepath)