https://github.com/JuliaLang/julia
Raw File
Tip revision: cc2ff3c9d5e9a198c85af6ab3231955e3b461adb authored by Keno Fischer on 29 July 2022, 06:02:14 UTC
Fix whitespace check for cross-bootstrap case
Tip revision: cc2ff3c
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