MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / On1Second

Method On1Second

src/render/plugins/opus_encoder/opus_encoder_plugin.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void OpusEncoderPlugin::On1Second() {
39#if MEMORY_STST_ON
40 plugin_context_->PostWorkTask([=, this]() {
41 auto info = MemoryStat::Instance()->GetStatInfo();
42 LOGI("Memory usage: {}", info.Dump());
43 });
44#endif
45 }
46
47 bool OpusEncoderPlugin::OnCreate(const tc::GrPluginParam &param) {
48 GrAudioEncoderPlugin::OnCreate(param);

Callers

nothing calls this directly

Calls 2

PostWorkTaskMethod · 0.45
DumpMethod · 0.45

Tested by

no test coverage detected