![]() |
EM-ODP
3.8.0-1
Event Machine on ODP
|
#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>

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() |
Environment header file
Definition in file environment.h.
| #define ENV_CACHE_LINE_ALIGNED ODP_ALIGNED_CACHE |
Cache line alignment
Definition at line 76 of file environment.h.
| #define ENV_CACHE_LINE_SIZE ODP_CACHE_LINE_SIZE |
Cache line size
Definition at line 62 of file environment.h.
| #define ENV_CACHE_LINE_SIZE_ROUNDUP | ( | x | ) |
Cache line size round up
Definition at line 67 of file environment.h.
| #define ENV_LOCAL __thread |
Thread local vars
Definition at line 57 of file environment.h.
| #define env_panic | ( | ... | ) | abort() |
Panic
Definition at line 98 of file environment.h.
| #define ENV_PREFETCH | ( | addr | ) | odp_prefetch((addr)) |
Prefetch into all cache levels
Definition at line 82 of file environment.h.