update utils/log/rs_trace.h.

Signed-off-by: lmy <lvmengyu3@huawei.com>
This commit is contained in:
lmy 2024-04-29 12:25:19 +00:00 committed by Gitee
parent 92c1a2c5b8
commit e6ce6f837f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -23,7 +23,7 @@
#define ROSEN_TRACE_END(tag) FinishTrace(tag)
#define RS_TRACE_END() ROSEN_TRACE_END(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL)
#define RS_TRACE_NAME(name) HITRACE_METER_NAME(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name)
#define RS_TRACE_NAME_FMT(fmt, ...) \
#define RS_TRACE_NAME_FMT(fmt, ...) \
HITRACE_METER_FMT(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, fmt, ##__VA_ARGS__)
#define RS_ASYNC_TRACE_BEGIN(name, value) StartAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value)
#define RS_ASYNC_TRACE_END(name, value) FinishAsyncTrace(HITRACE_TAG_GRAPHIC_AGP | HITRACE_TAG_COMMERCIAL, name, value)