A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[examples,smpi] remove warnings and resolve a bug (I hope I amn't sure)
[simgrid.git]
/
examples
/
smpi
/
MM
/
timer.c
diff --git
a/examples/smpi/MM/timer.c
b/examples/smpi/MM/timer.c
index
4b2e0ad
..
a647f98
100644
(file)
--- a/
examples/smpi/MM/timer.c
+++ b/
examples/smpi/MM/timer.c
@@
-28,6
+28,7
@@
inline int get_time(struct timespec *tp){
time = time * 1000000000;
tp->tv_nsec = (long) time;
tp->tv_sec = value ;
+ return 0;
}
double get_timediff(struct timespec *start, struct timespec *end){