Loading...
Searching...
No Matches
platform.hpp
Go to the documentation of this file.
//
// Copyright 2010,2012 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <stdint.h>
namespace uhd {
/* Returns the process ID of the current process */
int32_t get_process_id();
/* Returns a unique identifier for the current machine */
uint32_t get_host_id();
/* Get a unique identifier for the current machine and process */
uint32_t get_process_hash();
} // namespace uhd
uhd
Definition build_info.hpp:12
uhd::get_process_hash
uint32_t get_process_hash()
uhd::get_host_id
uint32_t get_host_id()
uhd::get_process_id
int32_t get_process_id()