sw_perf/common.h

25 lines
667 B
C
Raw Normal View History

2023-08-26 03:00:15 +08:00
/*********************************************************************************************
Description: common defines and declarations
Copyright : All right reserved by NCIC.ICT
Author : Zhang Zhonghai
Date : 2023/08/26
***********************************************************************************************/
#ifndef __COMMON_H
#define __COMMON_H
#include <stdio.h>
#undef MAX
#undef MIN
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#define MIN(x, y) ((x) < (y) ? (x) : (y))
2024-04-08 20:00:48 +08:00
#define KERNEL_NUM 4
2023-08-26 03:00:15 +08:00
extern FILE *ins_ext_f_arr[KERNEL_NUM],
*del_ext_f_arr[KERNEL_NUM],
*score_f_arr[KERNEL_NUM],
*retval_f_arr[KERNEL_NUM];
#endif