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

Function main

libCacheSim/bin/mrcProfiler/main.cpp:41–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int main(int argc, char *argv[]) {
42 struct arguments args;
43 parse_cmd(argc, argv, &args);
44
45 mrcProfiler::MRCProfilerBase * profiler = create_mrc_profiler(args.mrc_profiler_type, args.reader, args.ofilepath, args.mrc_profiler_params);
46
47 profiler->run();
48
49 profiler->print(args.ofilepath);
50
51 delete profiler;
52
53 close_reader(args.reader);
54
55 return 0;
56}

Callers

nothing calls this directly

Calls 4

close_readerFunction · 0.85
parse_cmdFunction · 0.70
runMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected