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
Remove usage of xbt_assert[0-9].
[simgrid.git]
/
src
/
smpi
/
smpi_bench.c
diff --git
a/src/smpi/smpi_bench.c
b/src/smpi/smpi_bench.c
index
e5e18b1
..
8c81580
100644
(file)
--- a/
src/smpi/smpi_bench.c
+++ b/
src/smpi/smpi_bench.c
@@
-134,10
+134,10
@@
int smpi_sample_2(int global, const char *file, int line)
char *loc = sample_location(global, file, line);
local_data_t *data;
char *loc = sample_location(global, file, line);
local_data_t *data;
- xbt_assert
0
(samples, "You did something very inconsistent, didn't you?");
+ xbt_assert(samples, "You did something very inconsistent, didn't you?");
data = xbt_dict_get_or_null(samples, loc);
if (!data) {
data = xbt_dict_get_or_null(samples, loc);
if (!data) {
- xbt_assert
0
(data, "Please, do thing in order");
+ xbt_assert(data, "Please, do thing in order");
}
if (!data->started) {
if ((data->iters > 0 && data->count >= data->iters)
}
if (!data->started) {
if ((data->iters > 0 && data->count >= data->iters)
@@
-163,7
+163,7
@@
void smpi_sample_3(int global, const char *file, int line)
local_data_t *data;
double sample, n;
local_data_t *data;
double sample, n;
- xbt_assert
0
(samples, "You did something very inconsistent, didn't you?");
+ xbt_assert(samples, "You did something very inconsistent, didn't you?");
data = xbt_dict_get_or_null(samples, loc);
smpi_bench_end();
if(data && data->started && data->count < data->iters) {
data = xbt_dict_get_or_null(samples, loc);
smpi_bench_end();
if(data && data->started && data->count < data->iters) {