aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/utils/system_time.hpp
blob: 30cd5a673837fa967f3b1ca9f46797fff65b12d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
// Copyright 2017 Ettus Research (National Instruments Corp.)
//
// SPDX-License-Identifier: GPL-3.0+
//

#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 */