diff options
Diffstat (limited to 'utility/execution_profile_kit')
| -rw-r--r-- | utility/execution_profile_kit/smp_version/tx_execution_profile.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utility/execution_profile_kit/smp_version/tx_execution_profile.c b/utility/execution_profile_kit/smp_version/tx_execution_profile.c index 735dbf14..3739475c 100644 --- a/utility/execution_profile_kit/smp_version/tx_execution_profile.c +++ b/utility/execution_profile_kit/smp_version/tx_execution_profile.c @@ -9,6 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ +// Some portions generated by Codex (GPT-5). /**************************************************************************/ /**************************************************************************/ @@ -962,7 +963,7 @@ UINT core; for (core = 0; core < TX_THREAD_SMP_MAX_CORES; core++) { - *total_time = _tx_execution_thread_time_total[core]; + total_time[core] = _tx_execution_thread_time_total[core]; } /* Restore interrupts. */ @@ -1025,7 +1026,7 @@ UINT core; { /* Return the total time. */ - *total_time = _tx_execution_isr_time_total[core]; + total_time[core] = _tx_execution_isr_time_total[core]; } /* Restore interrupts. */ @@ -1088,7 +1089,7 @@ UINT core; { /* Return the total time. */ - *total_time = _tx_execution_idle_time_total[core]; + total_time[core] = _tx_execution_idle_time_total[core]; } /* Restore interrupts. */ |
