sw_perf/main.c

39 lines
826 B
C
Raw Normal View History

/*********************************************************************************************
Description: The entry for sw performance tests
Copyright : All right reserved by NCIC.ICT
Author : Zhang Zhonghai
Date : 2023/08/20
***********************************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <time.h>
#include <sys/time.h>
#include "byte_alloc.h"
2023-08-26 00:38:38 +08:00
#include "utils.h"
#include "profiling.h"
#include "extend.h"
#include "align.h"
#define TEST_EXTEND 0
#define TEST_ALIGN 1
2023-08-26 03:00:15 +08:00
// 程序执行入口
int main(int argc, char *argv[])
{
#if TEST_EXTEND
main_extend(argc - 1, argv + 1);
2023-08-26 03:00:15 +08:00
#endif
#if TEST_ALIGN
main_align(argc - 1, argv + 1);
#endif
return 0;
}