#include <cstddef>
#include <cstdint>
#include <initializer_list>
#include <pxl/log_types.hpp>
#include <pxl/v3_api_guard.hpp>
Go to the source code of this file.
|
| void | pxl::enableLog (const LogType &type, const LogLevel &level=LogLevel::Error, const LogDetail &detail=LogDetail::None) |
| | Configures logging settings for a specific log type. More...
|
| |
| void | pxl::disableLog (const LogType &type) |
| | Disables logging for a specific log type. More...
|
| |
| void | pxl::setOutput (const LogOutput &outputType, const char *filename=nullptr) |
| | Sets the output destination for log messages. More...
|
| |
| void | pxl::registerSignalHandler (int32_t signalType) |
| | Registers a signal handler for a specific signal type. More...
|
| |
| void | pxl::registerSignalHandler (const std::initializer_list< int32_t > &signalTypes) |
| | Registers signal handlers for multiple signal types. More...
|
| |
| void | pxl::flushHostCache (void *hostVirtualPtr, size_t size, bool opt=true) |
| | Flushes the host CPU cache for the specified memory range and records the range as written. More...
|
| |
| void | pxl::flushHostCacheUntracked (void *hostVirtualPtr, size_t size, bool opt=true) |
| | Flushes the host CPU cache, and nothing else. More...
|
| |
| void | pxl::invalidateHostCache (void *hostVirtualPtr, size_t size) |
| | Drops host cache lines over the range so a later read sees what the device wrote. More...
|
| |