TAILIEUCHUNG - Real-Time Embedded Multithreading Using ThreadX and MIPS- P9

Real-Time Embedded Multithreading Using ThreadX and MIPS- P9: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. | Internal System Clock and Application Timers 161 TX_TIMER my_timer UINT status Delete application timer. Assume that the application timer has already been created. status tx_timer_delete my_timer If status equals TX_SUCCESS the application timer is deleted. Figure Deleting an application timer Deleting an Application Timer The tx_timer_delete service deletes an application timer. Figure shows how to delete an application timer. If variable status contains the return value TX_SUCCESS we have successfully deleted the application timer. Make certain that you do not inadvertently use a deleted timer. Retrieving Application Timer Information There are three services that enable you to retrieve vital information about application timers. The first such service for application timers the tx_timer_pool_info_get service retrieves a subset of information from the Application Timer Control Block. This information provides a snapshot at a particular instant in time . when the service is invoked. The other two services provide summary information that is based on the gathering of run-time performance data. One service the tx_timer_pool_ performance_info_get service provides an information summary for a particular application timer up to the time the service is invoked. By contrast the tx_timer_pool_ performance_system_info_get retrieves an information summary for all application timers in the system up to the time the service is invoked. These services are useful in analyzing the behavior of the system and determining whether there are potential problem areas. The tx_timer_info_get5 service retrieves a variety of information about an 5By default only the tx_timer_info_get service is enabled. The other two information-gathering services must be enabled in order to use them. cioHa oaLeHori tii Krxai LerHiaimi Please purchase PDF Split-Merge on . 162 Chapter 10 TX_TIMER my_timer CHAR my_timer_name UINT active ULONG .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.