blob: ce3e1a4ad6f24157528acc18eda3d6b5463712cc [file] [log] [blame]
#ifndef __SPV_SERVICE_H__
#define __SPV_SERVICE_H__
#define SPV_MEM_DEBUG_RECORD_NUM 16
#define SPV_MEM_DEBUG_PROFILE_THRESHOLD 32*1024
#if !defined(__MAUI_BASIC__)
#define __SPV_MPB_MEMSET_MEMCPY_M3_BW_CORRELATION__
#endif
#if defined(__SPV_MPB_MEMSET_MEMCPY_M3_BW_CORRELATION__)
#define SPV_MPB_MEMSET_MEMCPY_M3_BW_CORRELATION_WINDOW 1000
void spv_mpb_m3_bw_warn_cb(kal_uint32 frc, kal_uint32 window, kal_uint32 bw);
#endif
typedef struct mem_debug {
kal_uint32 retaddr;
kal_uint32 size;
kal_uint32 start_frc;
kal_uint32 end_frc;
} mem_debug_t;
#endif