Percepio Trace Recorder v4.11.0
Loading...
Searching...
No Matches
trcStreamPortConfig.h
1/*
2 * Trace Recorder for Tracealyzer v4.11.0
3 * Copyright 2025 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
15extern "C" {
16#endif
17
23#define TRC_CFG_STREAM_PORT_DELAY_ON_BUSY 1
24
30#define TRC_CFG_STREAM_PORT_USB_BUFFER_SIZE 64
31
37#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 10240
38
44#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_TRANSFER_MODE TRC_INTERNAL_EVENT_BUFFER_OPTION_TRANSFER_MODE_ALL
45
52#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_SIZE 64
53
62#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_SIZE_LIMIT 64
63
72#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_COUNT_LIMIT 5
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif /* TRC_STREAM_PORT_CONFIG_H */