Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
timestamp.h File Reference
#include <zephyr/kernel.h>
#include <limits.h>
#include <zephyr/test_asm_inline_other.h>

Go to the source code of this file.

Macros

#define TICK_SYNCH()   k_sleep(K_TICKS(1))
 
#define OS_GET_TIME()   k_cycle_get_32()
 

Functions

static uint32_t TIME_STAMP_DELTA_GET (uint32_t ts)
 
static void bench_test_init (void)
 
static void bench_test_start (void)
 
static int bench_test_end (void)
 
static int high_timer_overflow (void)
 

Variables

uint32_t tm_off
 
static int64_t timestamp_check
 

Macro Definition Documentation

◆ OS_GET_TIME

#define OS_GET_TIME ( )    k_cycle_get_32()

◆ TICK_SYNCH

#define TICK_SYNCH ( )    k_sleep(K_TICKS(1))

Function Documentation

◆ bench_test_end()

static int bench_test_end ( void  )
inlinestatic

◆ bench_test_init()

static void bench_test_init ( void  )
inlinestatic

◆ bench_test_start()

static void bench_test_start ( void  )
inlinestatic

◆ high_timer_overflow()

static int high_timer_overflow ( void  )
inlinestatic

◆ TIME_STAMP_DELTA_GET()

static uint32_t TIME_STAMP_DELTA_GET ( uint32_t  ts)
inlinestatic

Variable Documentation

◆ timestamp_check

int64_t timestamp_check
static

◆ tm_off

uint32_t tm_off
extern