Memory 最佳缓冲存储器比
我正在尝试使用Sparrow的Kmax构建DAQ。我有一个现成的模板,其中总内存Memory 最佳缓冲存储器比,memory,memory-management,buffer,data-transfer,data-acquisition,Memory,Memory Management,Buffer,Data Transfer,Data Acquisition,我正在尝试使用Sparrow的Kmax构建DAQ。我有一个现成的模板,其中总内存16MB static final int evSize = 4; // The num of parameters per event of this type static final int BUF_SIZE = evSize*1000; /** <------------------Why pick this buffer size*/ // Buf
16MB
static final int evSize = 4; // The num of parameters per event of this type
static final int BUF_SIZE = evSize*1000; /** <------------------Why pick this buffer size*/ // Buffer size
static final int LP_MEM_TOP = 0xFFFF00; // Memory size 16MB
static final int READ_START = LP_MEM_TOP - BUF_SIZE; // We start the read/write pointer 1 buffer before the end
static final int evSize=4;//此类型的每个事件的参数数
静态最终int BUF_尺寸=evSize*1000/**