Percepio Trace Recorder  v4.6.6
trcStreamPortConfig.h
1 /*
2  * Trace Recorder for Tracealyzer v4.6.6
3  * Copyright 2021 Percepio AB
4  * www.percepio.com
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * The configuration for trace streaming ("stream ports").
9  */
10 
11 #ifndef TRC_STREAM_PORT_CONFIG_H
12 #define TRC_STREAM_PORT_CONFIG_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 /* The time to wait if the USB interface is busy. */
19 #define TRC_CFG_STREAM_PORT_DELAY_ON_BUSY 3
20 
21 /*******************************************************************************
22 * Configuration Macro: TRC_CFG_STREAM_PORT_USB_BUFFER_SIZE
23 *
24 * Specifies the size of the usb buffer.
25 ******************************************************************************/
26 #define TRC_CFG_STREAM_PORT_USB_BUFFER_SIZE 64
27 
28 /*******************************************************************************
29 * Configuration Macro: TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE
30 *
31 * Specifies the size of the internal buffer.
32 ******************************************************************************/
33 #define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 10000
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* TRC_STREAM_PORT_CONFIG_H */