https://github.com/JuliaLang/julia
Raw File
Tip revision: b5ccd0f2ef29f86e1c95f09e148793e9d3bf15ea authored by Alex Arslan on 04 October 2019, 01:57:38 UTC
Set VERSION to 1.3.0-rc3 (#33464)
Tip revision: b5ccd0f
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