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
Comment some unused parameters.
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_bench.cpp
diff --git
a/src/smpi/internals/smpi_bench.cpp
b/src/smpi/internals/smpi_bench.cpp
index
6c72dc4
..
4e1243a
100644
(file)
--- a/
src/smpi/internals/smpi_bench.cpp
+++ b/
src/smpi/internals/smpi_bench.cpp
@@
-203,13
+203,13
@@
int smpi_usleep(useconds_t usecs)
}
#if _POSIX_TIMERS > 0
}
#if _POSIX_TIMERS > 0
-int smpi_nanosleep(const struct timespec
*tp, struct timespec * t
)
+int smpi_nanosleep(const struct timespec
* tp, struct timespec* /*t*/
)
{
return static_cast<int>(private_sleep(static_cast<double>(tp->tv_sec + tp->tv_nsec / 1000000000.0)));
}
#endif
{
return static_cast<int>(private_sleep(static_cast<double>(tp->tv_sec + tp->tv_nsec / 1000000000.0)));
}
#endif
-int smpi_gettimeofday(struct timeval
*tv, void* tz
)
+int smpi_gettimeofday(struct timeval
* tv, void* /*tz*/
)
{
smpi_bench_end();
double now = SIMIX_get_clock();
{
smpi_bench_end();
double now = SIMIX_get_clock();
@@
-226,7
+226,7
@@
int smpi_gettimeofday(struct timeval *tv, void* tz)
}
#if _POSIX_TIMERS > 0
}
#if _POSIX_TIMERS > 0
-int smpi_clock_gettime(clockid_t
clk_id, struct timespec *
tp)
+int smpi_clock_gettime(clockid_t
/*clk_id*/, struct timespec*
tp)
{
//there is only one time in SMPI, so clk_id is ignored.
smpi_bench_end();
{
//there is only one time in SMPI, so clk_id is ignored.
smpi_bench_end();