https://github.com/JuliaLang/julia
Raw File
Tip revision: 83a7f3b5bebc300ca1ee4356dd8f7f25347c107e authored by Jeff Bezanson on 18 January 2019, 07:13:49 UTC
Add doc string for `=` (#30745)
Tip revision: 83a7f3b
timefuncs.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef JL_TIMEFUNCS_H
#define JL_TIMEFUNCS_H

#ifdef __cplusplus
extern "C" {
#endif

struct jl_timeval {
    int64_t sec;    /* seconds */
    int64_t usec;   /* microseconds */
};

JL_DLLEXPORT int jl_gettimeofday(struct jl_timeval *jtv);
JL_DLLEXPORT double jl_clock_now(void);
void sleep_ms(int ms);

#ifdef __cplusplus
}
#endif

#endif
back to top