Zephyr API Documentation 4.0.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()
 
#define OS_GET_TIME()
 

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 ( )
Value:
static uint32_t k_cycle_get_32(void)
Read the hardware clock.
Definition kernel.h:1906

◆ TICK_SYNCH

#define TICK_SYNCH ( )
Value:
#define K_TICKS(t)
Generate timeout delay from system ticks.
Definition kernel.h:1388
int32_t k_sleep(k_timeout_t timeout)
Put the current thread to sleep.

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