Alias to std::size_t.
public resource_limit_typeoperator=(resource_limit &&) -> resource_limit &resource_limit(resource_limit &&)operator=(const resource_limit &) -> resource_limit &resource_limit(const resource_limit &)~resource_limit()hard(value_type rhs) -> voidsoft(value_type rhs) -> voidhard() const -> value_typesoft() const -> value_typeresource_limit(value_type soft, value_type hard)resource_limit()public resource_usage_typeinvoluntary_context_switches() const -> longvoluntary_context_switches() const -> longsignals_received() const -> longipc_messages_received() const -> longipc_messages_sent() const -> longblock_output_operations() const -> longblock_input_operations() const -> longnum_swaps() const -> longpage_faults() const -> longpage_reclaims() const -> longintegral_unshared_stack_size() const -> longintegral_unshared_data_size() const -> longintegral_shared_memory_size() const -> longmaximum_resident_set_size() const -> longsystem_cpu_time() const -> std::chrono::microsecondsuser_cpu_time() const -> std::chrono::microsecondsoperator=(resource_usage &&) -> resource_usage &resource_usage(resource_usage &&)operator=(const resource_usage &) -> resource_usage &resource_usage(const resource_usage &)~resource_usage()resource_usage(who w = who::self)explicitSystem caches. The data is queried in a series of sysconf(3) calls.
using value_type = cache_levelAlias to cache_level.
const typedef value_type * const_iteratorConstant iterator.
operator[](int i) const -> value_typeGet cache by index.
size() const -> intThe number of cache levels.
end() const -> const_iteratorGet iterator to the end of cache level sequence.
begin() const -> const_iteratorGet iterator to the beginning of cache level sequence.
num_levels() const -> intThe number of cache levels.
cache(cache &&)Move-constructor.
cache(const cache &)Copy-constructor.
~cache()cache()public information_typeuptime() const -> std::chrono::secondstotal_processes() const -> unsigned shortmemory_unit() const -> intunused_high_memory() const -> unsigned longtotal_high_memory() const -> unsigned longunused_swap() const -> unsigned longtotal_swap() const -> unsigned longbuffers_memory() const -> unsigned longshared_memory() const -> unsigned longunused_memory() const -> unsigned longtotal_memory() const -> unsigned longload_average() const -> const unsigned long *load_average_15min() const -> unsigned longload_average_5min() const -> unsigned longload_average_1min() const -> unsigned longoperator=(information &&) -> information &information(information &&)operator=(const information &) -> information &information(const information &)~information()information()limit(resources r, const resource_limit & lim) -> voidget(fd_type fd, path_options name) -> longget(c_string path, path_options name) -> longlimit(resources r) -> resource_limitget(string_options name, string & buf) -> void
Returns maximum number of threads for the system.
UNISTDX_SINGLE_THREAD preprocessor macro is defined, returns 1.
UNISTDX_CONCURRENCY environment variable equals positive integer, returns its value.
get(string_options name) -> stringpage_size() -> size_typeGet system page size. Falls back to 4096 when the page size can not be determined.