USRP Hardware Driver and USRP Manual  Version: 4.7.0.0
UHD and USRP Manual
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 */
15 int32_t get_process_id();
16 
17 /* Returns a unique identifier for the current machine */
18 uint32_t get_host_id();
19 
20 /* Get a unique identifier for the current machine and process */
21 uint32_t get_process_hash();
22 
23 } // namespace uhd
Definition: build_info.hpp:12
int32_t get_process_id()
uint32_t get_process_hash()
uint32_t get_host_id()