Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
98411063
Commit
98411063
authored
Aug 24, 2021
by
Antoine Kaufmann
Browse files
lib/nicbm: print position in blocking queue entry alloc message
parent
498b1892
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lib/simbricks/nicbm/nicbm.cc
lib/simbricks/nicbm/nicbm.cc
+4
-2
No files found.
lib/simbricks/nicbm/nicbm.cc
View file @
98411063
...
@@ -87,7 +87,8 @@ volatile union SimbricksProtoPcieD2H *Runner::D2HAlloc() {
...
@@ -87,7 +87,8 @@ volatile union SimbricksProtoPcieD2H *Runner::D2HAlloc() {
bool
first
=
true
;
bool
first
=
true
;
while
((
msg
=
SimbricksNicIfD2HAlloc
(
&
nicif_
,
main_time
))
==
NULL
)
{
while
((
msg
=
SimbricksNicIfD2HAlloc
(
&
nicif_
,
main_time
))
==
NULL
)
{
if
(
first
)
{
if
(
first
)
{
fprintf
(
stderr
,
"D2HAlloc: warning waiting for entry
\n
"
);
fprintf
(
stderr
,
"D2HAlloc: warning waiting for entry (%zu)
\n
"
,
nicif_
.
d2h_pos
);
first
=
false
;
first
=
false
;
}
}
}
}
...
@@ -103,7 +104,8 @@ volatile union SimbricksProtoNetD2N *Runner::D2NAlloc() {
...
@@ -103,7 +104,8 @@ volatile union SimbricksProtoNetD2N *Runner::D2NAlloc() {
bool
first
=
true
;
bool
first
=
true
;
while
((
msg
=
SimbricksNicIfD2NAlloc
(
&
nicif_
,
main_time
))
==
NULL
)
{
while
((
msg
=
SimbricksNicIfD2NAlloc
(
&
nicif_
,
main_time
))
==
NULL
)
{
if
(
first
)
{
if
(
first
)
{
fprintf
(
stderr
,
"D2NAlloc: warning waiting for entry
\n
"
);
fprintf
(
stderr
,
"D2NAlloc: warning waiting for entry (%zu)
\n
"
,
nicif_
.
d2n_pos
);
first
=
false
;
first
=
false
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment