1 /* SPDX-License-Identifier: Apache-2.0 OR MIT */ 2 /* 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 */ 5 6 #ifndef __MPP_TRACE_H__ 7 #define __MPP_TRACE_H__ 8 9 #include "rk_type.h" 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 void mpp_trace_begin(const char* name); 16 void mpp_trace_end(const char* name); 17 void mpp_trace_async_begin(const char* name, rk_s32 cookie); 18 void mpp_trace_async_end(const char* name, rk_s32 cookie); 19 void mpp_trace_int32(const char* name, rk_s32 value); 20 void mpp_trace_int64(const char* name, rk_s64 value); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /*__MPP_TRACE_H__*/