WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
spdlog::details::os Namespace Reference

Functions

spdlog::log_clock::time_point now () SPDLOG_NOEXCEPT
 
std::tm localtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
std::tm localtime () SPDLOG_NOEXCEPT
 
std::tm gmtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
std::tm gmtime () SPDLOG_NOEXCEPT
 
void prevent_child_fd (FILE *f)
 
bool fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode)
 
int remove (const filename_t &filename) SPDLOG_NOEXCEPT
 
int rename (const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
 
bool file_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
size_t filesize (FILE *f)
 
int utc_minutes_offset (const std::tm &tm=details::os::localtime())
 
size_t _thread_id () SPDLOG_NOEXCEPT
 
size_t thread_id () SPDLOG_NOEXCEPT
 
void sleep_for_millis (int milliseconds) SPDLOG_NOEXCEPT
 
std::string filename_to_str (const filename_t &filename)
 
int pid ()
 
bool is_color_terminal () SPDLOG_NOEXCEPT
 
bool in_terminal (FILE *file) SPDLOG_NOEXCEPT
 

Function Documentation

◆ _thread_id()

size_t spdlog::details::os::_thread_id ( )
inline

Definition at line 316 of file os.h.

Here is the caller graph for this function:

◆ file_exists()

bool spdlog::details::os::file_exists ( const filename_t filename)
inline

Definition at line 188 of file os.h.

Here is the caller graph for this function:

◆ filename_to_str()

std::string spdlog::details::os::filename_to_str ( const filename_t filename)
inline

Definition at line 370 of file os.h.

Here is the caller graph for this function:

◆ filesize()

size_t spdlog::details::os::filesize ( FILE *  f)
inline

Definition at line 204 of file os.h.

Here is the caller graph for this function:

◆ fopen_s()

bool spdlog::details::os::fopen_s ( FILE **  fp,
const filename_t filename,
const filename_t mode 
)
inline

Definition at line 148 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gmtime() [1/2]

std::tm spdlog::details::os::gmtime ( const std::time_t &  time_tt)
inline

Definition at line 92 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gmtime() [2/2]

std::tm spdlog::details::os::gmtime ( )
inline

Definition at line 105 of file os.h.

Here is the call graph for this function:

◆ in_terminal()

bool spdlog::details::os::in_terminal ( FILE *  file)
inline

Definition at line 410 of file os.h.

Here is the caller graph for this function:

◆ is_color_terminal()

bool spdlog::details::os::is_color_terminal ( )
inline

Definition at line 388 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localtime() [1/2]

std::tm spdlog::details::os::localtime ( const std::time_t &  time_tt)
inline

Definition at line 73 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localtime() [2/2]

std::tm spdlog::details::os::localtime ( )
inline

Definition at line 86 of file os.h.

Here is the call graph for this function:

◆ now()

spdlog::log_clock::time_point spdlog::details::os::now ( )
inline

Definition at line 60 of file os.h.

Here is the caller graph for this function:

◆ pid()

int spdlog::details::os::pid ( )
inline

Definition at line 376 of file os.h.

Here is the caller graph for this function:

◆ prevent_child_fd()

void spdlog::details::os::prevent_child_fd ( FILE *  f)
inline

Definition at line 129 of file os.h.

Here is the caller graph for this function:

◆ remove()

int spdlog::details::os::remove ( const filename_t filename)
inline

Definition at line 169 of file os.h.

Here is the caller graph for this function:

◆ rename()

int spdlog::details::os::rename ( const filename_t filename1,
const filename_t filename2 
)
inline

Definition at line 178 of file os.h.

Here is the caller graph for this function:

◆ sleep_for_millis()

void spdlog::details::os::sleep_for_millis ( int  milliseconds)
inline

Definition at line 351 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thread_id()

size_t spdlog::details::os::thread_id ( )
inline

Definition at line 339 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ utc_minutes_offset()

int spdlog::details::os::utc_minutes_offset ( const std::tm &  tm = details::os::localtime())
inline

Definition at line 249 of file os.h.

Here is the call graph for this function:
Here is the caller graph for this function: