Skip to content

Commit

Permalink
fix a bug in traceUtil logging
Browse files Browse the repository at this point in the history
  • Loading branch information
1a1a11a committed Nov 26, 2024
1 parent 2d8b600 commit 7e8e39a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions libCacheSim/bin/traceAnalyzer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ int main(int argc, char *argv[]) {
args.reader, args.ofilepath, args.analysis_option, args.analysis_param);
stat->run();

// } else if (strcasecmp(args.task, "hotOS23") == 0) {
// args.analysis_option.popularity_decay = true;
// args.analysis_option.prob_at_age = true;
// args.analysis_option.lifetime = false;

// args.analysis_param.time_window = 300;

ofstream ofs("traceStat", ios::out | ios::app);
ofs << *stat << endl;
ofs.close();
Expand Down
1 change: 1 addition & 0 deletions libCacheSim/bin/traceUtils/cli_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ void parse_cmd(int argc, char *argv[], struct arguments *args) {
args->trace_type_str = args->args[1];
assert(N_ARGS == 2);

args->trace_type = trace_type_str_to_enum(args->trace_type_str, args->trace_path);
args->reader = create_reader(args->trace_type_str, args->trace_path,
args->trace_type_params, args->n_req,
args->ignore_obj_size, 0);
Expand Down

0 comments on commit 7e8e39a

Please sign in to comment.