https://github.com/JuliaLang/julia
Raw File
Tip revision: bd47eca2c8aacd145b6c5c02e47e2b9ec27ab456 authored by Kristoffer Carlsson on 01 March 2024, 10:14:14 UTC
set VERSION to 1.10.2 (#53489)
Tip revision: bd47eca
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