USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
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
13namespace uhd {
14
15/* Returns the process ID of the current process */
17
18/* Returns a unique identifier for the current machine */
19uint32_t get_host_id();
20
21/* Get a unique identifier for the current machine and process */
23
24} // namespace uhd
25
26#endif /* INCLUDED_UHD_UTILS_PLATFORM_HPP */
Definition: build_info.hpp:13
uint32_t get_process_hash()
uint32_t get_host_id()
int32_t get_process_id()