https://github.com/JuliaLang/julia
Raw File
Tip revision: 19fba2bd38afc784b9bebd830d523c47685937e8 authored by Jameson Nash on 02 September 2020, 14:43:05 UTC
check that Dict convert gives expected type
Tip revision: 19fba2b
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