STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Timer Class Reference

#include <Timer.hpp>

Static Public Member Functions

static struct timespec tic ()
static double toc (const struct timespec &startTime)
static void get_time (double &time_s)
static double get_time ()
static void get_time (uint64_t &time_ns)
static uint64_t get_time_ns ()
static void get_time (int32_t &time_sec, int32_t &time_nsec)

Detailed Description

Definition at line 7 of file Timer.hpp.

Member Function Documentation

◆ get_time() [1/4]

double Timer::get_time ( )
inlinestatic

Definition at line 47 of file Timer.hpp.

References get_time().

Referenced by get_time(), and get_time_ns().

◆ get_time() [2/4]

void Timer::get_time ( double & time_s)
inlinestatic

Definition at line 37 of file Timer.hpp.

◆ get_time() [3/4]

void Timer::get_time ( int32_t & time_sec,
int32_t & time_nsec )
inlinestatic

Definition at line 82 of file Timer.hpp.

◆ get_time() [4/4]

void Timer::get_time ( uint64_t & time_ns)
inlinestatic

Definition at line 58 of file Timer.hpp.

◆ get_time_ns()

uint64_t Timer::get_time_ns ( )
inlinestatic

Definition at line 69 of file Timer.hpp.

References get_time().

◆ tic()

struct timespec Timer::tic ( )
inlinestatic

Definition at line 13 of file Timer.hpp.

References tic().

Referenced by tic().

◆ toc()

double Timer::toc ( const struct timespec & startTime)
inlinestatic

Definition at line 24 of file Timer.hpp.


The documentation for this class was generated from the following file:
  • daq-server/diablo_server/transport/include/comms/Timer.hpp