Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stress.c File Reference
#include <stdint.h>
#include <zephyr/ztest.h>
#include <zephyr/kernel.h>
#include <zephyr/ztress.h>
#include <zephyr/logging/log.h>
#include <zephyr/random/random.h>
#include <zephyr/timing/timing.h>

Macros

#define WRITE_LEN   512
 
#define READ_LEN   512
 

Functions

 LOG_MODULE_REGISTER (k_k_pipe_stress, LOG_LEVEL_INF)
 
 ZTEST_SUITE (k_pipe_stress, NULL, NULL, NULL, NULL, NULL)
 
void test_write (void)
 
void test_read (void)
 

Variables

static struct k_pipe pipe
 

Macro Definition Documentation

◆ READ_LEN

#define READ_LEN   512

◆ WRITE_LEN

#define WRITE_LEN   512

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( k_k_pipe_stress ,
LOG_LEVEL_INF  )

◆ test_read()

void test_read ( void )

◆ test_write()

void test_write ( void )

◆ ZTEST_SUITE()

ZTEST_SUITE ( k_pipe_stress ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL  )

Variable Documentation

◆ pipe

struct k_pipe pipe
static