Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit d565f35

Browse files
authored
Turn off printing of multisend setup space/time info (#692)
1 parent a2ae655 commit d565f35

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

coreneuron/network/multisend_setup.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,15 @@ static std::pair<std::vector<int>, std::vector<int>> all2allv_helper(const std::
150150
return std::make_pair(std::move(rcnt), std::move(rdispl));
151151
}
152152

153-
#define all2allv_perf 1
153+
/*
154+
define following to 1 if desire space/performance information such as:
155+
all2allv_int gidin to intermediate space=1552 total=37345104 time=0.000495835
156+
all2allv_int gidout space=528 total=37379376 time=1.641e-05
157+
all2allv_int lists space=3088 total=37351312 time=4.4708e-05
158+
*/
159+
160+
#define all2allv_perf 0
161+
154162
// input: s, scnt, sdispl; output: r, rdispl
155163
static std::pair<std::vector<int>, std::vector<int>> all2allv_int(const std::vector<int>& s,
156164
const std::vector<int>& scnt,

0 commit comments

Comments
 (0)