| USRP Hardware Driver and Device Manual Version: 4.10.0.0 UHD and USRP Manual |

Loading...
Searching...
No Matches
platform.hpp
Go to the documentation of this file.
1//
2// Copyright 2010,2012 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#pragma once
9
10#include <stdint.h>
11
12 namespace uhd {
13
14/* Returns the process ID of the current process */
15int32_t get_process_id();
16
17/* Returns a unique identifier for the current machine */
18uint32_t get_host_id();
19
20/* Get a unique identifier for the current machine and process */
21uint32_t get_process_hash();
22
23} // 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()