CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
src
test
test_configuration.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------------------------
2
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3
// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4
// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5
// -------------------------------------------------------------------------------------------
6
13
#ifndef CDI_TEST_CONFIGURATION_H__
14
#define CDI_TEST_CONFIGURATION_H__
15
16
//*********************************************************************************************************************
17
//***************************************** IMPLEMENTATION VARIANTS AND OPTION ****************************************
18
//*********************************************************************************************************************
19
21
#define TX_PAYLOAD_TIMEOUT_FACTOR (100)
22
25
#define TX_ALL_DONE_TIMEOUT_MS (2000)
26
28
#define REFRESH_STATS_PERIOD_SECONDS (1)
29
32
#define TX_QUEUE_FULL_RATE_PERIOD_SLEEP_DIVISOR (100)
33
35
#define CONNECTION_WAIT_TIMEOUT_SECONDS (10*60)
36
38
#define MAIN_TEST_LOOP_WAIT_TIMEOUT_MS (1000*1)
39
43
//#define ENABLE_TEST_INTERNAL_CORE_STATS_RECONFIGURE
44
46
//#define ENABLE_TEST_INTERNAL_DYNAMIC_ENDPOINT
47
48
//*********************************************************************************************************************
49
//********************************************* FEATURES TO AID DEBUGGING *********************************************
50
//*********************************************************************************************************************
51
55
//#define DISABLE_RATE_TIMEOUT_FOR_DEBUG
56
57
//*********************************************************************************************************************
58
//******************************************* MAX SIZES FOR STATIC DATA/ARRAYS ****************************************
59
//*********************************************************************************************************************
60
62
#define TEST_TX_SGL_PACKET_ENTRIES (10)
63
65
#define TEST_TX_SGL_PACKET_ENTRIES_GROW (2)
66
68
#define TEST_MAX_POOL_GROW_COUNT (5)
69
70
#endif
// CDI_TEST_CONFIGURATION_H__
Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.