diff options
| author | Frédéric Desbiens <[email protected]> | 2026-10-02 10:42:44 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-10-02 10:42:44 -0400 |
| commit | 93387b0a60382a29579bbad5045c68328e3751df (patch) | |
| tree | 42be790d602cb76f55090e5a7c418df7ea2b3428 /test/smp/regression/execution_profile_test | |
| parent | 44d7c95c582d415c4ad84527180b29c93c3bf664 (diff) | |
| parent | 28281cd5647d4671236ca08d19bd18ed15b2265a (diff) | |
Merge pull request #783 from eclipse-threadx/devv6.5.2.202603_rel
Merged changes ahead of the v6.5.2.202603 release
Diffstat (limited to 'test/smp/regression/execution_profile_test')
| -rw-r--r-- | test/smp/regression/execution_profile_test/tx_api.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/smp/regression/execution_profile_test/tx_api.h b/test/smp/regression/execution_profile_test/tx_api.h new file mode 100644 index 00000000..aef253c6 --- /dev/null +++ b/test/smp/regression/execution_profile_test/tx_api.h @@ -0,0 +1,40 @@ +/*************************************************************************** + * Copyright (C) 2026 Eclipse ThreadX contributors + * + * This program and the accompanying materials are made available under the + * terms of the MIT License which is available at + * https://opensource.org/licenses/MIT. + * + * AI Disclosure: This file was largely AI-generated by Codex (GPT-5). + * The AI-generated portions may be considered public domain (CC0-1.0) + * and not subject to the project's licence. The human contributor has + * reviewed and verified that the code is correct. + * + * SPDX-License-Identifier: MIT and CC0-1.0 + **************************************************************************/ + +#ifndef TX_API_H +#define TX_API_H + +#define TX_THREAD_SMP_MAX_CORES 4U +#define TX_SUCCESS 0U +#define TX_NOT_DONE 20U +#define TX_NULL ((void *) 0) +#define TX_SMP_CORE_ID 0U + +typedef unsigned int UINT; +typedef unsigned long ULONG; +typedef void VOID; + +typedef struct TX_THREAD_STRUCT +{ + unsigned long long tx_thread_execution_time_total; + unsigned long tx_thread_execution_time_last_start; + struct TX_THREAD_STRUCT *tx_thread_created_next; +} TX_THREAD; + +#define TX_INTERRUPT_SAVE_AREA +#define TX_DISABLE +#define TX_RESTORE + +#endif |
