uhd/host/lib/include/uhdlib/utils/system_time.hpp
2020-04-08 15:16:06 -05:00

20 lines
380 B
C++

//
// Copyright 2017 Ettus Research (National Instruments Corp.)
//
// SPDX-License-Identifier: GPL-3.0+
//
#pragma once
#include <uhd/types/time_spec.hpp>
namespace uhd {
/*!
* Get the system time in time_spec_t format.
* Uses the highest precision clock available.
* \return the system time as a time_spec_t
*/
time_spec_t get_system_time(void);
}; /* namespace uhd */