29 #include <sys/types.h>
46 read_wall_time(&t, TIMEBASE_SZ);
47 time_base_to_time(&t, TIMEBASE_SZ);
48 return (
uint64_t) t.tb_high *
G + t.tb_low;
74 if (*
size > cached_len)
83 res = getargs(&pi,
sizeof(pi),
args,
sizeof(
args));
uint64_t uv__hrtime(uv_clocktype_t type)
uv_once_t process_title_mutex_once
void init_process_title_mutex_once(void)
int uv_exepath(char *buffer, size_t *size)
uv_mutex_t process_title_mutex
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
int uv__search_path(const char *prog, char *buf, size_t *buflen)
pthread_mutex_t uv_mutex_t
UV_EXTERN void uv_mutex_lock(uv_mutex_t *handle)
UV_EXTERN void uv_once(uv_once_t *guard, void(*callback)(void))
UV_EXTERN void uv_mutex_unlock(uv_mutex_t *handle)