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

Function init_arg

libCacheSim/bin/customized/SOSP23/oneHit/cli_parser.c:105–113  ·  view source on GitHub ↗

* @brief initialize the arguments * * @param args */

Source from the content-addressed store, hash-verified

103 * @param args
104 */
105static void init_arg(struct arguments *args) {
106 memset(args, 0, sizeof(struct arguments));
107
108 args->trace_path = NULL;
109 args->trace_type_params = NULL;
110 args->verbose = true;
111 memset(args->ofilepath, 0, OFILEPATH_LEN);
112 args->n_req = -1;
113}
114
115/**
116 * @brief parse the command line arguments

Callers 1

parse_cmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected