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
uniformize gras_os_sleep prototype (seconds are double everywhere else, avoid roundin...
[simgrid.git]
/
src
/
gras
/
Virtu
/
sg_time.c
diff --git
a/src/gras/Virtu/sg_time.c
b/src/gras/Virtu/sg_time.c
index
d83b257
..
ed80c7f
100644
(file)
--- a/
src/gras/Virtu/sg_time.c
+++ b/
src/gras/Virtu/sg_time.c
@@
-19,6
+19,6
@@
double gras_os_time() {
/*
* Freeze the process for the specified amount of time
*/
-void gras_os_sleep(
unsigned long sec,unsigned long u
sec) {
- MSG_process_sleep(
(double)sec + ((double)usec)/1000000
);
+void gras_os_sleep(
double
sec) {
+ MSG_process_sleep(
sec
);
}