Loading...
Searching...
No Matches
Time.hpp
Go to the documentation of this file.
#pragma once
#include <SoapySDR/Config.hpp>
#include <SoapySDR/Time.h>
namespace SoapySDR
{
static inline long long ticksToTimeNs(const long long ticks, const double rate);
static inline long long timeNsToTicks(const long long timeNs, const double rate);
}
static inline long long SoapySDR::ticksToTimeNs(const long long ticks, const double rate)
{
return SoapySDR_ticksToTimeNs(ticks, rate);
}
static inline long long SoapySDR::timeNsToTicks(const long long timeNs, const double rate)
{
return SoapySDR_timeNsToTicks(timeNs, rate);
}
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