bitkeeper revision 1.1108.1.13 (4100e3a6AM3nkMAOO2NrkuSXmz7H3w)

Set parameter for fbvt call.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-07-23 10:08:38 +00:00
1 parent f1d52d4e73
commit 154cf9d4e5
1 file changed
+3 -1
+3 -1
View File
@@ -379,6 +379,7 @@ class ProgBvtslice(Prog):
def main(self, args):
if len(args) < 2: self.err('%s: Missing context switch allowance'
% args[0])
slice = int(args[1])
server.xend_node_cpu_bvt_slice_set(slice)
xm.prog(ProgBvtslice)
@@ -411,7 +412,8 @@ class ProgFbvtslice(Prog):
def main(self, args):
if len(args) < 2: self.err('%s: Missing context switch allowance.'
% args[0])
server.xend_node_cpu_fbvt_slice_set(slice)
ctx_allow = int(args[1])
server.xend_node_cpu_fbvt_slice_set(ctx_allow)
xm.prog(ProgFbvtslice)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.