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

Function init_arg

libCacheSim/bin/distUtil/cli.c:113–121  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

111 * @param args
112 */
113static void init_arg(struct arguments *args) {
114 memset(args, 0, sizeof(struct arguments));
115
116 args->trace_path = NULL;
117 args->trace_type_params = NULL;
118 args->verbose = true;
119 memset(args->ofilepath, 0, OFILEPATH_LEN);
120 args->n_req = -1;
121}
122
123/**
124 * @brief parse the command line arguments

Callers 1

parse_cmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected