Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elsa Gonsiorowski
codes
Commits
6866d12e
Commit
6866d12e
authored
Aug 19, 2015
by
Jonathan Jenkins
Browse files
remove uses of scalatrace
parent
e64e38f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/models/network-workloads/model-net-dumpi-traces-dump.c
View file @
6866d12e
...
...
@@ -134,7 +134,6 @@ void nw_test_init(nw_state* s, tw_lp* lp)
{
/* initialize the LP's and load the data */
char
*
params
;
scala_trace_params
params_sc
;
dumpi_trace_params
params_d
;
s
->
nw_id
=
lp
->
gid
;
...
...
src/models/network-workloads/model-net-mpi-wrklds.c
View file @
6866d12e
...
...
@@ -1096,8 +1096,7 @@ static void update_message_time_rc(
void
nw_test_init
(
nw_state
*
s
,
tw_lp
*
lp
)
{
/* initialize the LP's and load the data */
char
*
params
;
scala_trace_params
params_sc
;
char
*
params
=
NULL
;
dumpi_trace_params
params_d
;
codes_mapping_get_lp_info
(
lp
->
gid
,
lp_group_name
,
&
mapping_grp_id
,
lp_type_name
,
...
...
@@ -1111,16 +1110,7 @@ void nw_test_init(nw_state* s, tw_lp* lp)
if
(
!
num_net_traces
)
num_net_traces
=
num_net_lps
;
if
(
strcmp
(
workload_type
,
"scalatrace"
)
==
0
){
if
(
params_sc
.
offset_file_name
[
0
]
==
'\0'
){
tw_error
(
TW_LOC
,
"required argument for scalatrace offset_file"
);
return
;
}
strcpy
(
params_sc
.
offset_file_name
,
offset_file
);
strcpy
(
params_sc
.
nw_wrkld_file_name
,
workload_file
);
params
=
(
char
*
)
&
params_sc
;
}
else
if
(
strcmp
(
workload_type
,
"dumpi"
)
==
0
){
if
(
strcmp
(
workload_type
,
"dumpi"
)
==
0
){
strcpy
(
params_d
.
file_name
,
workload_file
);
params_d
.
num_net_traces
=
num_net_traces
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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