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

Method NanoLogTest

runtime/NanoLogTest.cc:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 RuntimeLogger::StagingBuffer *sb;
34
35 NanoLogTest()
36 : bufferSize(NanoLogConfig::STAGING_BUFFER_SIZE)
37 , halfSize(bufferSize/2)
38 , sb(new RuntimeLogger::StagingBuffer(0))
39 {
40 static_assert(1024 <= NanoLogConfig::STAGING_BUFFER_SIZE,
41 "Test requires at least 1KB of buffer space");
42 }
43
44 virtual ~NanoLogTest() {
45 if (sb) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected