summaryrefslogtreecommitdiff
path: root/utility/execution_profile_kit/tx_execution_profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'utility/execution_profile_kit/tx_execution_profile.h')
-rw-r--r--utility/execution_profile_kit/tx_execution_profile.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/utility/execution_profile_kit/tx_execution_profile.h b/utility/execution_profile_kit/tx_execution_profile.h
index 5bd34892..fa09ac2e 100644
--- a/utility/execution_profile_kit/tx_execution_profile.h
+++ b/utility/execution_profile_kit/tx_execution_profile.h
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present 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.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -24,14 +25,14 @@
#define TX_EXECUTION_PROFILE_H
-/* The thread execution profile kit is designed to track thread execution time
- based on the hardware timer defined by TX_EXECUTION_TIME_SOURCE and
- TX_EXECUTION_MAX_TIME_SOURCE below. When the thread's total time reaches
+/* The thread execution profile kit is designed to track thread execution time
+ based on the hardware timer defined by TX_EXECUTION_TIME_SOURCE and
+ TX_EXECUTION_MAX_TIME_SOURCE below. When the thread's total time reaches
the maximum value, it remains there until the time is reset to 0 via a call
- to tx_thread_execution_time_reset. There are several assumptions to the
+ to tx_thread_execution_time_reset. There are several assumptions to the
operation of this kit, as follows:
- 1. The TX_EXECUTION_TIME_SOURCE and TX_EXECUTION_MAX_TIME_SOURCE macros are
+ 1. The TX_EXECUTION_TIME_SOURCE and TX_EXECUTION_MAX_TIME_SOURCE macros are
defined to utilize a local hardware time source.
2. The following routines are called from assembly code:
@@ -40,8 +41,8 @@
VOID _tx_execution_isr_enter(void);
VOID _tx_execution_isr_exit(void);
- 3. The ThreadX library must be rebuilt with TX_EXECUTION_PROFILE_ENABLE so
- the assembly code macros are enabled to call the execution profile routines.
+ 3. The ThreadX library must be rebuilt with TX_EXECUTION_PROFILE_ENABLE so
+ the assembly code macros are enabled to call the execution profile routines.
4. Add tx_execution_profile.c to the application build. */