USRP Hardware Driver and USRP Manual
Version: 3.11.0.HEAD-0-g13c32cef
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
#ifndef INCLUDED_UHD_UTILS_PLATFORM_HPP
9
#define INCLUDED_UHD_UTILS_PLATFORM_HPP
10
11
#include <stdint.h>
12
13
namespace
uhd
{
14
15
/* Returns the process ID of the current process */
16
int32_t
get_process_id
();
17
18
/* Returns a unique identifier for the current machine */
19
uint32_t
get_host_id
();
20
21
/* Get a unique identifier for the current machine and process */
22
uint32_t
get_process_hash
();
23
24
}
//namespace uhd
25
26
#endif
/* INCLUDED_UHD_UTILS_PLATFORM_HPP */
uhd
Definition:
build_info.hpp:14
uhd::get_process_id
int32_t get_process_id()
uhd::get_process_hash
uint32_t get_process_hash()
uhd::get_host_id
uint32_t get_host_id()
include
uhd
utils
platform.hpp
Generated by
1.8.13