EM-ODP  3.7.0
Event Machine on ODP
environment.h File Reference
#include <stdlib.h>
#include <odp_api.h>
#include <event_machine/platform/env/env_macros.h>
#include <event_machine/platform/env/env_conf.h>
#include <event_machine/platform/env/env_atomic.h>
#include <event_machine/platform/env/env_bitmask.h>
#include <event_machine/platform/env/env_barrier.h>
#include <event_machine/platform/env/env_sharedmem.h>
#include <event_machine/platform/env/env_spinlock.h>
#include <event_machine/platform/env/env_time.h>
Include dependency graph for environment.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ENV_LOCAL   __thread
 
#define ENV_CACHE_LINE_SIZE   ODP_CACHE_LINE_SIZE
 
#define ENV_CACHE_LINE_SIZE_ROUNDUP(x)
 
#define ENV_ALIGNED(x)   ODP_ALIGNED(x)
 
#define ENV_CACHE_LINE_ALIGNED   ODP_ALIGNED_CACHE
 
#define ENV_PREFETCH(addr)   odp_prefetch((addr))
 
#define env_panic(...)   abort()
 

Detailed Description

Environment header file

Definition in file environment.h.

Macro Definition Documentation

◆ ENV_CACHE_LINE_ALIGNED

◆ ENV_CACHE_LINE_SIZE

◆ ENV_CACHE_LINE_SIZE_ROUNDUP

#define ENV_CACHE_LINE_SIZE_ROUNDUP (   x)
Value:

Cache line size round up

Definition at line 67 of file environment.h.

◆ ENV_LOCAL

◆ env_panic

#define env_panic (   ...)    abort()

Panic

Definition at line 98 of file environment.h.

◆ ENV_PREFETCH

#define ENV_PREFETCH (   addr)    odp_prefetch((addr))

Prefetch into all cache levels

Definition at line 82 of file environment.h.

ENV_CACHE_LINE_SIZE
#define ENV_CACHE_LINE_SIZE
Definition: environment.h:62