--- title: Lab12: RTOS Visualization toc: no ... 預期目標 ------- - 延展過去幾次的實驗與作業,提出一個具體的 RTOS 視覺化機制 - 學習 Grasp 視覺化工具 Grasp ------- - Understanding and validating the timing behavior of real-time systems is not trivial. - Many real-time operating systems and their development environments do not provide tracing support, and provide only limited visualization, measurements and analysis tools. - `Grasp`_ is a tool for tracing, visualizing and measuring the behavior of real-time systems. It provides a simple plugin infrastructure for extending Grasp with custom visualization and measurement methods. 作業 ------- - 適度修改 Lab-12/freertos 目錄底下的檔案,以 Grasp 重新實作視覺化機制 * 需要包含 context-switch * 需要包含 mutex 的視覺化 - 可整合 Grasp Recorder 以在 FreeRTOS 作事件紀錄 - 程式碼一律提交到 Git repository,操作方式請參考之前 Lab * ``make gdbauto`` 時,應該要產生 ``sched.grasp`` 檔案 繳交作業 ------- - 截止日期: * 成大/中正: Apr 12, 2013 (含) 之前 - 寄件到 - 標題: * 成大: "[NCKU/Lab12]" 開頭,後面加學號與姓名 * 中正: "[CCU/Lab12]" 開頭,後面加學號與姓名 * 格式不合者,不計分! - 信件內應該描述開發的想法、面臨的技術問題以及如何克服 - 以及關於 context-swicth / mutex 的畫面輸出