USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
platform.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010,2012 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_UTILS_PLATFORM_HPP
8 #define INCLUDED_UHD_UTILS_PLATFORM_HPP
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
24 
25 #endif /* INCLUDED_UHD_UTILS_PLATFORM_HPP */
Definition: build_info.hpp:14
int32_t get_process_id()
uint32_t get_process_hash()
uint32_t get_host_id()