Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
latmon.h File Reference

Latency Monitor API. More...

#include <zephyr/kernel.h>
#include <zephyr/net/net_ip.h>

Go to the source code of this file.

Typedefs

typedef int(* net_latmon_measure_t) (uint32_t *delta)
 Callback function type for retrieving latency deltas.
 

Functions

void net_latmon_start (int latmus, net_latmon_measure_t measure_func)
 Start the latency monitor.
 
int net_latmon_connect (int socket, struct in_addr *ip)
 Wait for a connection from a Latmus client.
 
int net_latmon_get_socket (struct sockaddr *bind_addr)
 Get a socket for the Latmus service.
 
bool net_latmon_running (void)
 Check if the latency monitor is running.
 

Detailed Description

Latency Monitor API.