32 lines
690 B
C
32 lines
690 B
C
|
|
#pragma once
|
||
|
|
/**
|
||
|
|
* @file stat_define.h
|
||
|
|
* @brief 定义的一些常用于统计模块的常量
|
||
|
|
* @author Cat (null.null.null@qq.com)
|
||
|
|
* @version 0.1
|
||
|
|
* @date 2021-07-02
|
||
|
|
*
|
||
|
|
* Company: Baosight Co. Ltd.
|
||
|
|
* DO NOT COPY/USE WITHOUT PERMISSION
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
#include <dlib/matrix.h>
|
||
|
|
#include <mix_cc/sql.h>
|
||
|
|
#include <chrono>
|
||
|
|
#include <vector>
|
||
|
|
using namespace std::chrono;
|
||
|
|
using std::chrono::system_clock;
|
||
|
|
using namespace mix_cc;
|
||
|
|
|
||
|
|
typedef system_clock::time_point TimePoint;
|
||
|
|
|
||
|
|
#define IMPL_STAT_COUNT 5
|
||
|
|
|
||
|
|
#define ONE_DIM_MIN_JUDGE_SIZE 20
|
||
|
|
#define TWO_DIM_MIN_FIT_SIZE 100
|
||
|
|
#define THREE_DIM_MIN_FIT_SIZE 240
|
||
|
|
|
||
|
|
// #define MAX_STORAGE_SIZE 10000
|
||
|
|
#define MAX_STORAGE_SIZE 2000
|
||
|
|
#define MIN_STORAGE_SIZE 1000
|