In mono/metadata:
[mono.git] / mono / utils / mono-time.h
blobdced878d9ee1acf6a13bfad5bfae791ad63ed78e
1 #ifndef __UTILS_MONO_TIME_H__
2 #define __UTILS_MONO_TIME_H__
4 #include <mono/utils/mono-compiler.h>
5 #include <glib.h>
7 /* Returns the number of milliseconds from boot time: this should be monotonic */
8 guint32 mono_msec_ticks (void) MONO_INTERNAL;
10 /* Returns the number of 100ns ticks from unspecified time: this should be monotonic */
11 gint64 mono_100ns_ticks (void) MONO_INTERNAL;
13 /* Returns the number of 100ns ticks since 1/1/1, UTC timezone */
14 gint64 mono_100ns_datetime (void) MONO_INTERNAL;
16 #endif /* __UTILS_MONO_TIME_H__ */