Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
834351f3
Commit
834351f3
authored
Jan 19, 2005
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Okay, 2.5 minimum_nodes (one delay node) rounded down to 2 makes no
sense at all. Use ceil ...
parent
cb66c26d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tbsetup/assign_wrapper.in
tbsetup/assign_wrapper.in
+2
-1
No files found.
tbsetup/assign_wrapper.in
View file @
834351f3
...
...
@@ -6,7 +6,7 @@
#
use
English
;
use
Getopt::
Std
;
use
POSIX
qw(setsid)
;
use
POSIX
qw(setsid
ceil
)
;
use
POSIX
"
:sys_wait_h
";
#
...
...
@@ -4318,6 +4318,7 @@ sub CreateTopFile()
# Set estimations
$minimum_nodes
=
$physnode_count
+
keys
(
%delaynodes
)
/
$DELAYCAPACITY
;
$maximum_nodes
=
$physnode_count
+
keys
(
%delaynodes
);
$minimum_nodes
=
POSIX::
ceil
(
$minimum_nodes
);
if
(
!
$impotent
)
{
DBQueryFatal
("
UPDATE experiments set maximum_nodes=
$maximum_nodes
,
"
.
...
...
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