projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf0c74
)
Add place holder function for pc to make pc build pass
author
fanyang-mono
<yangfan@microsoft.com>
Tue, 14 Apr 2020 18:30:14 +0000
(14:30 -0400)
committer
fanyang-mono
<yangfan@microsoft.com>
Tue, 14 Apr 2020 18:30:14 +0000
(14:30 -0400)
src/mono/mono/utils/mono-time.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/utils/mono-time.c
b/src/mono/mono/utils/mono-time.c
index
e03efae
..
0767221
100644
(file)
--- a/
src/mono/mono/utils/mono-time.c
+++ b/
src/mono/mono/utils/mono-time.c
@@
-249,7
+249,7
@@
mono_clock_get_time_ns (void)
return ((guint64) mach_ts.tv_sec * 1000000000) + (guint64) mach_ts.tv_nsec;
}
-#else
+#else
if defined(HOST_LINUX)
static clockid_t sampling_posix_clock;
@@
-264,4
+264,13
@@
mono_clock_get_time_ns (void)
return ((guint64) ts.tv_sec * 1000000000) + (guint64) ts.tv_nsec;
}
+#else
+
+guint64
+mono_clock_get_time_ns (void)
+{
+ // TODO: need to implement time stamp function for PC
+ return 0;
+}
+
#endif