[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:
Thomas Preud'homme 2011-04-11 15:34:49 +02:00
parent 9c835d4c46
commit 5d71bc53f1
21 changed files with 82 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c