Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
425a1de9
Commit
425a1de9
authored
Jul 25, 2001
by
Christopher Alfeld
Browse files
No functional changes. Just changing the debugging output slightly and
fixing a bug in the debugging output.
parent
27de539d
Changes
2
Hide whitespace changes
Inline
Side-by-side
assign/assign.cc
View file @
425a1de9
...
...
@@ -186,7 +186,7 @@ int assign()
while
(
temp
>=
temp_stop
)
{
#ifdef VERBOSE
cout
<<
"Temperature: "
<<
temp
<<
endl
;
cout
<<
"Temperature: "
<<
temp
<<
" AbsBest: "
<<
absbest
<<
" ("
<<
absbestv
<<
")"
<<
endl
;
#endif
trans
=
0
;
accepts
=
0
;
...
...
assign/score.cc
View file @
425a1de9
...
...
@@ -427,8 +427,8 @@ int add_node(node n,int ploc)
// try to find interswitch
#ifdef SCORE_DEBUG
cerr
<<
" looking for interswitch link "
<<
PG
[
pnoder
.
the_switch
].
name
<<
" "
<<
PG
[
dpnoder
.
the_switch
].
name
<<
endl
;
(
pnoder
.
the_switch
!=
nil
?
PG
[
pnoder
.
the_switch
].
name
:
string
(
"No Switch"
))
<<
" "
<<
(
dpnoder
.
the_switch
!=
nil
?
PG
[
dpnoder
.
the_switch
].
name
:
string
(
"No Switch"
))
<<
endl
;
#endif
if
(
find_interswitch_path
(
pnoder
.
the_switch
,
dpnoder
.
the_switch
,
er
->
bandwidth
,
er
->
path
)
==
0
)
{
...
...
@@ -671,7 +671,7 @@ void score_link(edge e,edge v,bool interswitch)
tb_vlink
&
er
=
G
[
v
];
#ifdef SCORE_DEBUG
fprintf
(
stderr
,
" score_link(%p)
\n
"
,
e
)
;
cerr
<<
" score_link("
<<
e
<<
") - "
<<
pl
.
name
<<
" / "
<<
er
.
name
<<
endl
;
#endif
if
(
!
interswitch
)
{
...
...
Write
Preview
Supports
Markdown
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