MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / printHelp

Function printHelp

runtime/LogDecompressor.cc:118–145  ·  view source on GitHub ↗

* Prints the usage information to stdout. * * \param exe * Name of the executable */

Source from the content-addressed store, hash-verified

116 * Name of the executable
117 */
118void printHelp(const char *exe) {
119 printf("Decompress/Aggregate log files produced by "
120 "the NanoLog System\r\n\r\n");
121
122 printf("Decompress the log file into a human-readable format:\r\n");
123 printf("\t%s decompress <logFile>\r\n\r\n", exe);
124
125 printf("Decompress the log file into a sorted human-readable format \r\n"
126 "without sorting the messages by time:\r\n");
127 printf("\t%s decompressUnordered <logFile>\r\n\r\n", exe);
128
129 printf("Create an RCDF of the inter-log invocation times. Only works\r\n");
130 printf("when there is one runtime logging thread:\r\n");
131 printf("\t%s rcdfTime <logFile>\r\n\r\n", exe);
132
133 printf("== Note ==\r\n");
134 printf("The following 2 commands only work with logs produced by the\r\n");
135 printf("preprocessor version of NanoLog\r\n");
136 printf("==========\r\n\r\n");
137
138 printf("Run a minMaxMean aggregation on a specific logId (integer)"
139 " and interpret the first argument as an int:\r\n");
140 printf("\t%s minMaxMean <logFile> <logId>\r\n\r\n", exe);
141
142 printf("Get the logIds with static log format messages "
143 "matching a substring (case sensitive)\r\n");
144 printf("\t%s find <logFile> <substring>\r\n\r\n", exe);
145}
146
147/**
148 * Simple program to decompress log files produced by the NanoLog System.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected