MCPcopy Create free account
hub / github.com/OAID/Tengine / ResetEventStats

Function ResetEventStats

core/lib/notify_instance.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace TEngine {
27
28static void ResetEventStats(NotifyBus::EventNode* node)
29{
30 node->sync_send_count = 0;
31 node->send_count = 0;
32 node->drop_count = 0;
33 node->process_count = 0;
34 node->send_fail_count = 0;
35 node->active = 0;
36}
37
38NotifyBus::NotifyBus(const std::string& name, int max_event_type_num, int max_event_pending_num)
39{

Callers 1

CreateEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected