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

Function printConfig

runtime/NanoLog.cc:14–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 }
13
14 void printConfig() {
15 printf("==== NanoLog Configuration ====\r\n");
16
17 printf("StagingBuffer size: %u MB\r\n",
18 NanoLogConfig::STAGING_BUFFER_SIZE / 1000000);
19 printf("Output Buffer size: %u MB\r\n",
20 NanoLogConfig::OUTPUT_BUFFER_SIZE / 1000000);
21 printf("Release Threshold : %u MB\r\n",
22 NanoLogConfig::RELEASE_THRESHOLD / 1000000);
23 printf("Idle Poll Interval: %u µs\r\n",
24 NanoLogConfig::POLL_INTERVAL_NO_WORK_US);
25 printf("IO Poll Interval : %u µs\r\n",
26 NanoLogConfig::POLL_INTERVAL_DURING_IO_US);
27 }
28
29 void preallocate() {
30 RuntimeLogger::preallocate();

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected