SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma::Tick Class Reference

#include <ma_osal.h>

Collaboration diagram for ma::Tick:

Static Public Member Functions

static ma_tick_t current ()
 
static ma_tick_t fromMicroseconds (uint32_t us)
 
static ma_tick_t fromMilliseconds (uint32_t ms)
 
static ma_tick_t fromSeconds (uint32_t sec)
 
static uint32_t toMicroseconds (ma_tick_t tick)
 
static uint32_t toMilliseconds (ma_tick_t tick)
 
static uint32_t toSeconds (ma_tick_t tick)
 

Static Public Attributes

static const ma_tick_t waitForever = MA_WAIT_FOREVER
 

Member Function Documentation

◆ current()

static ma_tick_t ma::Tick::current ( )
static

◆ fromMicroseconds()

static ma_tick_t ma::Tick::fromMicroseconds ( uint32_t  us)
static
Here is the caller graph for this function:

◆ fromMilliseconds()

static ma_tick_t ma::Tick::fromMilliseconds ( uint32_t  ms)
static
Here is the caller graph for this function:

◆ fromSeconds()

static ma_tick_t ma::Tick::fromSeconds ( uint32_t  sec)
static

◆ toMicroseconds()

static uint32_t ma::Tick::toMicroseconds ( ma_tick_t  tick)
static

◆ toMilliseconds()

static uint32_t ma::Tick::toMilliseconds ( ma_tick_t  tick)
static

◆ toSeconds()

static uint32_t ma::Tick::toSeconds ( ma_tick_t  tick)
static

Member Data Documentation

◆ waitForever

const ma_tick_t ma::Tick::waitForever = MA_WAIT_FOREVER
static