https://github.com/JuliaLang/julia
Raw File
Tip revision: b570546b68de16bd208ca76a20c1385919de18d6 authored by Kristoffer Carlsson on 20 June 2021, 06:31:15 UTC
Set VERSION to 1.7.0-beta2 (#41274)
Tip revision: b570546
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