NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
os_utils.hpp File Reference
#include <cstdint>
#include <functional>
#include <string>
#include <thread>
Include dependency graph for os_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 storage
 

Macros

#define htobe16
 
#define htobe32
 
#define htobe64
 
#define betoh16
 
#define betoh32
 
#define betoh64
 

Functions

void storage::set_thread_affinity (std::thread &thread, uint32_t cpu_core_idx)
 
std::string storage::strerror_r (int err) noexcept
 
uint32_t storage::get_system_page_size (void)
 
void storage::install_ctrl_c_handler (std::function< void(void)> callback)
 
void storage::uninstall_ctrl_c_handler ()
 
void * storage::aligned_alloc (size_t alignment, size_t size)
 
void storage::aligned_free (void *memory)
 

Macro Definition Documentation

◆ betoh16

#define betoh16

Definition at line 42 of file os_utils.hpp.

◆ betoh32

#define betoh32

Definition at line 43 of file os_utils.hpp.

◆ betoh64

#define betoh64

Definition at line 44 of file os_utils.hpp.

◆ htobe16

#define htobe16

Definition at line 39 of file os_utils.hpp.

◆ htobe32

#define htobe32

Definition at line 40 of file os_utils.hpp.

◆ htobe64

#define htobe64

Definition at line 41 of file os_utils.hpp.