Files
softbus_daemon/src/message_bus/pipeline/PipelineEngineApi.cpp
flower_linux 7459cc0f36 context bind
2026-04-22 17:25:51 +08:00

16 lines
489 B
C++

#include "message_bus/pipeline/PipelineEngineApi.h"
namespace softbus::message_bus::pipeline
{
void resetPipelineCounters(PipelineEngine::Counters& counters)
{
counters.in.store(0, std::memory_order_relaxed);
counters.out.store(0, std::memory_order_relaxed);
counters.drop.store(0, std::memory_order_relaxed);
counters.error.store(0, std::memory_order_relaxed);
counters.mergeDrop.store(0, std::memory_order_relaxed);
}
} // namespace softbus::message_bus::pipeline