实现资源消耗跟踪和耗时校验 More...
#include "tools/tools/tools_consume.h"
#include "actor/protocol/nprotocol.h"
实现资源消耗跟踪和耗时校验
提供consume类的完整实现,用于测量代码块执行时间 当执行时间超过配置阈值时,记录错误级别日志便于监控