projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4058709
)
Use gint64 to represent time in MonoStopwatch to prevent overflows.
author
Paolo Molaro
<lupus@oddwiz.org>
Tue, 25 Oct 2011 14:46:49 +0000
(16:46 +0200)
committer
Paolo Molaro
<lupus@oddwiz.org>
Tue, 25 Oct 2011 14:47:48 +0000
(16:47 +0200)
mono/utils/mono-time.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-time.h
b/mono/utils/mono-time.h
index 4494ec00111917cd0d5dd869c316a961a564fbf6..294ca1b530a11788bc95119554032e4ea33da97a 100644
(file)
--- a/
mono/utils/mono-time.h
+++ b/
mono/utils/mono-time.h
@@
-15,7
+15,7
@@
gint64 mono_100ns_datetime (void) MONO_INTERNAL;
/* Stopwatch class for internal runtime use */
typedef struct {
- gint
32
start, stop;
+ gint
64
start, stop;
} MonoStopwatch;
static inline void