summaryrefslogtreecommitdiff
path: root/common/src/tx_timer_performance_info_get.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common/src/tx_timer_performance_info_get.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_timer_performance_info_get.c')
-rw-r--r--common/src/tx_timer_performance_info_get.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/common/src/tx_timer_performance_info_get.c b/common/src/tx_timer_performance_info_get.c
index 39e60b44..2c0a7e6e 100644
--- a/common/src/tx_timer_performance_info_get.c
+++ b/common/src/tx_timer_performance_info_get.c
@@ -96,15 +96,15 @@ UINT status;
/* Determine if this is a legal request. */
if (timer_ptr == TX_NULL)
{
-
+
/* Timer pointer is illegal, return error. */
status = TX_PTR_ERROR;
}
-
+
/* Determine if the timer ID is invalid. */
else if (timer_ptr -> tx_timer_id != TX_TIMER_ID)
{
-
+
/* Timer pointer is illegal, return error. */
status = TX_PTR_ERROR;
}
@@ -123,38 +123,38 @@ UINT status;
/* Retrieve the number of activations of this timer. */
if (activates != TX_NULL)
{
-
+
*activates = timer_ptr -> tx_timer_performance_activate_count;
}
-
+
/* Retrieve the number of reactivations of this timer. */
if (reactivates != TX_NULL)
{
-
+
*reactivates = timer_ptr -> tx_timer_performance_reactivate_count;
}
-
+
/* Retrieve the number of deactivations of this timer. */
if (deactivates != TX_NULL)
{
-
+
*deactivates = timer_ptr -> tx_timer_performance_deactivate_count;
}
-
+
/* Retrieve the number of expirations of this timer. */
if (expirations != TX_NULL)
{
-
+
*expirations = timer_ptr -> tx_timer_performance_expiration_count;
}
-
+
/* Retrieve the number of expiration adjustments of this timer. */
if (expiration_adjusts != TX_NULL)
{
-
+
*expiration_adjusts = timer_ptr -> tx_timer_performance__expiration_adjust_count;
}
-
+
/* Restore interrupts. */
TX_RESTORE