SoapySDR: Time.hpp Source File

| SoapySDR 0.8.1-ARCH Vendor and platform neutral SDR interface library

Loading...
Searching...
No Matches
Time.hpp
Go to the documentation of this file.
1
10
11#pragma once
12#include <SoapySDR/Config.hpp>
13#include <SoapySDR/Time.h>
14
15namespace SoapySDR
16{
17
24static inline long long ticksToTimeNs(const long long ticks, const double rate);
25
32static inline long long timeNsToTicks(const long long timeNs, const double rate);
33
34}
35
36 static inline long long SoapySDR::ticksToTimeNs(const long long ticks, const double rate)
37{
38 return SoapySDR_ticksToTimeNs(ticks, rate);
39}
40
41 static inline long long SoapySDR::timeNsToTicks(const long long timeNs, const double rate)
42{
43 return SoapySDR_timeNsToTicks(timeNs, rate);
44}
Config.hpp
Time.h
SoapySDR_timeNsToTicks
SOAPY_SDR_API long long SoapySDR_timeNsToTicks(const long long timeNs, const double rate)
SoapySDR_ticksToTimeNs
SOAPY_SDR_API long long SoapySDR_ticksToTimeNs(const long long ticks, const double rate)
SoapySDR
Definition ConverterPrimitives.hpp:15
SoapySDR::ticksToTimeNs
static long long ticksToTimeNs(const long long ticks, const double rate)
Definition Time.hpp:36
SoapySDR::timeNsToTicks
static long long timeNsToTicks(const long long timeNs, const double rate)
Definition Time.hpp:41