https://github.com/JuliaLang/julia
Raw File
Tip revision: fcc279cd5db9dd3406dc5a21c99e6b4077799b1c authored by Jeff Bezanson on 09 May 2017, 19:18:55 UTC
mark method cache as not needing specificity sorting
Tip revision: fcc279c
timefuncs.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef TIMEFUNCS_H
#define 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