#include <stdlib.h>
#include <stdint.h>
#include <stdarg.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdbool.h>
#include "motr/st/st_assert.h"
#include "motr/st/st_misc.h"
#include "lib/memory.h"
Go to the source code of this file.
◆ console_printf()
void console_printf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ generate_random()
uint32_t generate_random |
( |
uint32_t |
max | ) |
|
◆ get_tid()
◆ mem_alloc()
void* mem_alloc |
( |
size_t |
size | ) |
|
◆ mem_free()
void mem_free |
( |
void * |
p | ) |
|
◆ time_from_now()
uint64_t time_from_now |
( |
uint64_t |
secs, |
|
|
uint64_t |
ns |
|
) |
| |
◆ time_nanoseconds()
uint64_t time_nanoseconds |
( |
const uint64_t |
time | ) |
|
◆ time_now()
uint64_t time_now |
( |
void |
| ) |
|
Helper functions for Client ST in both user space and kernel
Definition at line 69 of file st_misc.c.
◆ time_seconds()
uint64_t time_seconds |
( |
const uint64_t |
time | ) |
|