HDK
|
Platform-independent utilities for various OS, hardware, and system resource functionality, all in namespace Sysutil. More...
#include <ctime>
#include <string>
#include <OpenImageIO/export.h>
#include <OpenImageIO/oiioversion.h>
#include <OpenImageIO/platform.h>
#include <OpenImageIO/string_view.h>
Go to the source code of this file.
Classes | |
class | Sysutil::Term |
Namespaces | |
Sysutil | |
Platform-independent utilities for various OS, hardware, and system resource functionality. | |
Macros | |
#define | OIIO_HAS_STACKTRACE 1 |
Functions | |
OIIO_API size_t | Sysutil::memory_used (bool resident=true) |
OIIO_API size_t | Sysutil::physical_memory () |
OIIO_API void | Sysutil::get_local_time (const time_t *time, struct tm *converted_time) |
OIIO_API std::string | Sysutil::this_program_path () |
OIIO_API string_view | Sysutil::getenv (string_view name, string_view defaultval) |
OIIO_API string_view | Sysutil::getenv (string_view name) |
OIIO_API void | Sysutil::usleep (unsigned long useconds) |
OIIO_API bool | Sysutil::put_in_background (int argc, char *argv[]) |
OIIO_API unsigned int | Sysutil::hardware_concurrency () |
OIIO_API unsigned int | Sysutil::physical_concurrency () |
OIIO_API size_t | Sysutil::max_open_files () |
Get the maximum number of open file handles allowed on this system. More... | |
OIIO_API std::string | Sysutil::stacktrace () |
OIIO_API bool | Sysutil::setup_crash_stacktrace (string_view filename) |
OIIO_API int | Sysutil::terminal_columns () |
OIIO_API int | Sysutil::terminal_rows () |
Platform-independent utilities for various OS, hardware, and system resource functionality, all in namespace Sysutil.
Definition in file sysutil.h.