GNU Radio 3.3.0 C++ API
|
#include <ctime>
#include <sys/time.h>
#include <cmath>
Go to the source code of this file.
Functions | |
static bool | timespec_greater (const struct timespec *t1, const struct timespec *t0) |
static bool | timespec_greater (const struct timespec t1, const struct timespec t0) |
static bool | timespec_less (const struct timespec *t1, const struct timespec *t0) |
static bool | timespec_less (const struct timespec t1, const struct timespec t0) |
static bool | timespec_equal (const struct timespec *t1, const struct timespec *t0) |
static bool | timespec_equal (const struct timespec t1, const struct timespec t0) |
static void | timespec_reset (struct timespec *ret) |
static void | set_normalized_timespec (struct timespec *ts, time_t sec, long nsec) |
static struct timespec | convert_to_timespec (const double timeValue) |
static double | convert_from_timespec (const timespec actual) |
static void | timespec_add (struct timespec *ret, const struct timespec *t1, const struct timespec *t0) |
static void | timespec_add (struct timespec *ret, const struct timespec t1, const struct timespec t0) |
static struct timespec | timespec_add (const struct timespec t1, const struct timespec t0) |
static struct timespec | timespec_add (const struct timespec t1, const double time0) |
static void | timespec_subtract (struct timespec *ret, const struct timespec *t1, const struct timespec *t0) |
static void | timespec_subtract (struct timespec *ret, const struct timespec t1, const struct timespec t0) |
static struct timespec | timespec_subtract (const struct timespec t1, const struct timespec t0) |
static struct timespec | timespec_subtract (const struct timespec t1, const double time0) |
static double | diff_timespec (struct timespec *ret, const struct timespec *t1, const struct timespec *t0) |
static double | diff_timespec (struct timespec *ret, const struct timespec t1, const struct timespec t0) |
static double | diff_timespec (const struct timespec t1, const struct timespec t0) |
static double | diff_timespec (const struct timespec *t1, const struct timespec *t0) |
static void | get_highres_clock (struct timespec *ret) |
static struct timespec | get_highres_clock () |
static bool | timespec_empty (const struct timespec *ret) |
static bool | timespec_empty (const struct timespec ret) |
Variables | |
static const long | NSEC_PER_SEC = 1000000000L |
static double convert_from_timespec | ( | const timespec | actual | ) | [inline, static] |
References NSEC_PER_SEC.
Referenced by diff_timespec().
static struct timespec convert_to_timespec | ( | const double | timeValue | ) | [static, read] |
References NSEC_PER_SEC, and set_normalized_timespec().
Referenced by timespec_add(), and timespec_subtract().
static double diff_timespec | ( | struct timespec * | ret, |
const struct timespec * | t1, | ||
const struct timespec * | t0 | ||
) | [inline, static] |
References convert_from_timespec(), NULL, set_normalized_timespec(), and timespec_greater().
Referenced by diff_timespec().
static double diff_timespec | ( | struct timespec * | ret, |
const struct timespec | t1, | ||
const struct timespec | t0 | ||
) | [inline, static] |
References diff_timespec().
static double diff_timespec | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [inline, static] |
References diff_timespec(), and NULL.
static double diff_timespec | ( | const struct timespec * | t1, |
const struct timespec * | t0 | ||
) | [inline, static] |
References diff_timespec(), and NULL.
static void get_highres_clock | ( | struct timespec * | ret | ) | [inline, static] |
References NULL.
Referenced by get_highres_clock().
static struct timespec get_highres_clock | ( | ) | [static, read] |
References get_highres_clock().
static void set_normalized_timespec | ( | struct timespec * | ts, |
time_t | sec, | ||
long | nsec | ||
) | [inline, static] |
References NSEC_PER_SEC.
Referenced by convert_to_timespec(), diff_timespec(), timespec_add(), and timespec_subtract().
static void timespec_add | ( | struct timespec * | ret, |
const struct timespec * | t1, | ||
const struct timespec * | t0 | ||
) | [inline, static] |
References set_normalized_timespec().
Referenced by Waterfall3DDisplayPlot::TimeScale::ticLabel(), and timespec_add().
static void timespec_add | ( | struct timespec * | ret, |
const struct timespec | t1, | ||
const struct timespec | t0 | ||
) | [inline, static] |
References timespec_add().
static struct timespec timespec_add | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [static, read] |
References timespec_add().
static struct timespec timespec_add | ( | const struct timespec | t1, |
const double | time0 | ||
) | [static, read] |
References convert_to_timespec(), and timespec_add().
static bool timespec_empty | ( | const struct timespec * | ret | ) | [inline, static] |
Referenced by timespec_empty().
static bool timespec_empty | ( | const struct timespec | ret | ) | [inline, static] |
References timespec_empty().
static bool timespec_equal | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [inline, static] |
static bool timespec_equal | ( | const struct timespec * | t1, |
const struct timespec * | t0 | ||
) | [inline, static] |
static bool timespec_greater | ( | const struct timespec * | t1, |
const struct timespec * | t0 | ||
) | [inline, static] |
Referenced by diff_timespec().
static bool timespec_greater | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [inline, static] |
static bool timespec_less | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [inline, static] |
static bool timespec_less | ( | const struct timespec * | t1, |
const struct timespec * | t0 | ||
) | [inline, static] |
static void timespec_reset | ( | struct timespec * | ret | ) | [inline, static] |
static void timespec_subtract | ( | struct timespec * | ret, |
const struct timespec * | t1, | ||
const struct timespec * | t0 | ||
) | [inline, static] |
References set_normalized_timespec().
Referenced by timespec_subtract().
static struct timespec timespec_subtract | ( | const struct timespec | t1, |
const double | time0 | ||
) | [static, read] |
References convert_to_timespec(), and timespec_subtract().
static struct timespec timespec_subtract | ( | const struct timespec | t1, |
const struct timespec | t0 | ||
) | [static, read] |
References timespec_subtract().
static void timespec_subtract | ( | struct timespec * | ret, |
const struct timespec | t1, | ||
const struct timespec | t0 | ||
) | [inline, static] |
References timespec_subtract().
const long NSEC_PER_SEC = 1000000000L [static] |
Referenced by convert_from_timespec(), convert_to_timespec(), and set_normalized_timespec().