[commtech] Varying size of buffer for BatchQueue
Create several variation of BatchQueue, each with a different buffer size: batch_queue_1024, batch_queue_512, ..., batch_queue_2.
This commit is contained in:
parent
9c835d4c46
commit
5d71bc53f1
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (512 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (64 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (8 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (128 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (1 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (16 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (2 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (256 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (32 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
|
||||
#define BUF_SIZE (4 * CACHE_LINE_SIZE)
|
||||
#include <batch_queue_common_comm.h>
|
||||
|
||||
#endif
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SPECIFIC_COMM_H_
|
||||
#define _SPECIFIC_COMM_H_ 1
|
||||
#ifndef _BATCH_QUEUE_COMMON_COMM_H_
|
||||
#define _BATCH_QUEUE_COMMON_COMM_H_ 1
|
||||
|
||||
/* Non standard include */
|
||||
#include <commtech.h>
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
|
@ -0,0 +1 @@
|
|||
batch_queue.c
|
Loading…
Reference in New Issue