Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
platform.cc File Reference

Classes

struct CPUInfo
struct PwdUser

Namespaces

namespace Ase
namespace Ase::AnsiColors

Macros

#defineACCOUNTING_MSECS
#defineLIBTOOL_OBJDIR
#definePDEBUG(...)
#definex86_cpuid(input, count, eax, ebx, ecx, edx)
#definex86_has_cpuid()

Functions

const char *()_ (const char *string)
const char *()_ (const char *string, const char *plural, int64_t n)
std::string()_ (const std::string &string)
std::string()_ (const std::string &string, const std::string &plural, int64_t n)
Stringanklang_home_dir (const String &subdir)
std::stringanklang_runpath (RPath rpath, const String &segment)
Stringapplication_name ()
voidapplication_name_init (String desktopname)
const char *ase_build_id ()
const char *ase_version ()
std::stringcolor (Colors acolor, Colors c1, Colors c2, Colors c3, Colors c4, Colors c5, Colors c6)
const char *color_code (Colors acolor)
boolcolorize_tty (int fd)
voidconfigure (Colorize colorize)
std::stringcpu_arch ()
Stringcpu_info ()
std::stringexecutable_name () ASE_PURE
std::stringexecutable_path ()
voidfatal_system_error (const char *file, uint line, const char *format,...) __attribute__((__format__(printf
uint64monotonic_counter ()
Stringprogram_alias ()
voidprogram_alias_init (String customname)
Stringprogram_cwd ()
boolsched_fast_priority (int tid)
intsched_get_priority (int tid)
boolsched_set_priority (int tid, int nicelevel)
Stringthis_thread_get_name ()
intthis_thread_getpid ()
intthis_thread_gettid ()
intthis_thread_online_cpus ()
ThreadIdthis_thread_self ()
voidthis_thread_set_name (const String &name16chars)
uint64timestamp_benchmark ()
Stringtimestamp_format (uint64 stamp, uint maxlength)
uint64timestamp_realtime ()
uint64timestamp_resolution ()
uint64timestamp_startup ()
intuser_id ()
Stringuser_name ()
Stringuser_real_name ()

Variables

void__noreturn__

Macro Definition Documentation

LIBTOOL_OBJDIR

#define LIBTOOL_OBJDIR

PDEBUG

#define PDEBUG ( ...)

x86_has_cpuid

#define x86_has_cpuid ( )

x86_cpuid

#define x86_cpuid ( input,
count,
eax,
ebx,
ecx,
edx
)

ACCOUNTING_MSECS

#define ACCOUNTING_MSECS