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

Function init_arg

libCacheSim/bin/dep/traceOneHit/cli_parser.c:104–112  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

parse_cmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected