Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
27feaac2
Commit
27feaac2
authored
Feb 07, 2014
by
Misbah Mubarak
Browse files
updating the codes workload test program to use the right parameters for i/o lang
parent
d7720bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/workload/codes-workload-test.c
View file @
27feaac2
...
...
@@ -44,15 +44,12 @@ void workload_set_params()
configuration_get_value
(
&
config
,
"PARAMS"
,
"workload_type"
,
workload_type
,
MAX_NAME_LENGTH_WKLD
);
if
(
strcmp
(
workload_type
,
"bgp_io_workload"
)
==
0
)
{
strcpy
(
bgparams
.
io_kernel_path
,
""
);
strcpy
(
bgparams
.
io_kernel_def_path
,
""
);
configuration_get_value
(
&
config
,
"PARAMS"
,
"io_kernel_meta_path"
,
io_kernel_meta_path
,
MAX_NAME_LENGTH_WKLD
);
strcpy
(
bgparams
.
io_kernel_meta_path
,
io_kernel_meta_path
);
configuration_get_value
(
&
config
,
"PARAMS"
,
"bgp_config_file"
,
bgp_config_file
,
MAX_NAME_LENGTH_WKLD
);
strcpy
(
bgparams
.
bgp_config_file
,
bgp_config_file
);
bgparams
.
num_cns
_per_lp
=
num_clients_per_lp
;
bgparams
.
num_cns
=
NUM_CLIENTS
;
}
}
...
...
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