tailieunhanh - Real-Time Embedded Multithreading Using ThreadX and MIPS- P23
Real-Time Embedded Multithreading Using ThreadX and MIPS- P23:Although the history of embedded systems is relatively short, 1 the advances and successes of this fi eld have been profound. Embedded systems are found in a vast array of applications such as consumer electronics, “ smart ” devices, communication equipment, automobiles, desktop computers, and medical equipment. | Application Timer Services J-13 NOTE The ThreadX library and application must be built with TX_TIMER_ENABLE_ PERFORMANCE_INFO defined for this service to return performance information. Input Parameters activates reactivates deactivates expirations expiration_adjusts Pointer to destination for the total number of activation requests performed on all timers. Pointer to destination for the total number of automatic reactivation performed on all periodic timers. Pointer to destination for the total number of deactivation requests performed on all timers. Pointer to destination for the total number of expirations on all timers. Pointer to destination for the total number of internal expiration adjustments performed on all timers. These adjustments are done in the timer interrupt processing for timers that are larger than the default timer list size by default timers with expirations greater than 32 ticks . NOTE Supplying a TX_NULL for any parameter indicates that the parameter is not required. Return Values TX_SUCCESS 0x00 TX_FEATURE_NOT_ENABLED 0xFF Successful timer system performance get. The system was not compiled with performance information enabled. Allowed From Initialization threads timers and ISRs coj i i e nioiv t is w ne r mai r k Please purchase PDF Split-Merge on . J-14 Appendix J Example ULONG activates ULONG reactivates ULONG deactivates ULONG expirations ULONG expiration_adjusts Retrieve performance information on all previously created timers. status tx_timer_performance_system_info_get activates reactivates deactivates expirations expiration_adjusts If status is TX_SUCCESS the performance information was successfully retrieved. See Also tx_timer_activate tx_timer_change tx_timer_create tx_timer_deactivate tx_timer_delete tx_ timer_info_get tx_timer_performance_info_get on to remove this watermark. APPENDIX K ThreadX API1 ThreadX Entry VOID tx_kernel_enter VOID Memory Byte Pool Services UINT .
đang nạp các trang xem trước