MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / main

Function main

libCacheSim/bin/traceAnalyzer/main.cpp:11–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using namespace traceAnalyzer;
10
11int main(int argc, char *argv[]) {
12 struct arguments args;
13 parse_cmd(argc, argv, &args);
14
15 TraceAnalyzer *stat = new TraceAnalyzer(
16 args.reader, args.ofilepath, args.analysis_option, args.analysis_param);
17 stat->run();
18
19 ofstream ofs("traceStat", ios::out | ios::app);
20 ofs << *stat << endl;
21 ofs.close();
22 cout << *stat;
23
24 delete stat;
25
26 close_reader(args.reader);
27
28 return 0;
29}

Callers

nothing calls this directly

Calls 3

close_readerFunction · 0.85
parse_cmdFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected