EM-ODP  3.7.0
Event Machine on ODP
em_timer_res_param_t Struct Reference

#include <event_machine_timer.h>

Data Fields

em_timer_clksrc_t clk_src
 
uint64_t res_ns
 
uint64_t res_hz
 
uint64_t min_tmo
 
uint64_t max_tmo
 

Detailed Description

Type for timer resolution parameters

This structure is used to group timer resolution parameters that may affect each other. All time values are ns.

Note
This is used both as capability and configuration. When used as configuration either res_ns or res_hz must be 0 (for em_timer_create).
See also
em_timer_capability, em_timer_create
Examples
timer_test.c, and timer_test_periodic.c.

Definition at line 289 of file api/event_machine_timer.h.

Field Documentation

◆ clk_src

em_timer_clksrc_t em_timer_res_param_t::clk_src

Clock source (system specific)

Examples
timer_hello.c, timer_test.c, timer_test_periodic.c, and timer_test_ring.c.

Definition at line 291 of file api/event_machine_timer.h.

◆ max_tmo

uint64_t em_timer_res_param_t::max_tmo

maximum timeout, ns

Examples
timer_hello.c, timer_test.c, timer_test_periodic.c, and timer_test_ring.c.

Definition at line 299 of file api/event_machine_timer.h.

◆ min_tmo

uint64_t em_timer_res_param_t::min_tmo

minimum timeout, ns

Examples
timer_hello.c, timer_test.c, and timer_test_periodic.c.

Definition at line 297 of file api/event_machine_timer.h.

◆ res_hz

uint64_t em_timer_res_param_t::res_hz

resolution, hz

Examples
timer_test.c, and timer_test_periodic.c.

Definition at line 295 of file api/event_machine_timer.h.

◆ res_ns

uint64_t em_timer_res_param_t::res_ns

resolution, ns

Examples
timer_hello.c, timer_test.c, timer_test_periodic.c, and timer_test_ring.c.

Definition at line 293 of file api/event_machine_timer.h.


The documentation for this struct was generated from the following file: