WeiHeng

@WeiHeng

Joined on Oct 5, 2021

  • What Is OMNeT++? OMNeT++ is an object-oriented modular discrete event network simulation framework. 安裝 OMNet++ download (我所用的版本 : OMNet++ 5.6.2) 下載後解壓縮至你要的路徑 在 omnetpp-5.6.2/ 下可以找到 mingwenv 點開執行 同個路徑下可找到INSTALL.txt,依照裡面指令快速安裝
     Like  Bookmark
  • 前置步驟 安裝 MikTex 在 MikTex Console 中先點擊 check for update 並更新 安裝 Perl,新版會自動加進PATH環境變數,若無則自己加入安裝路徑C:\Strawberry\perl\bin 設定VScode 安裝 LaTeX Workshop 套件 左下角的齒輪,進入到settings搜尋recipe,然後點擊Edit in settings.json 在設定檔內找到latexmk (xelatex)的設定移到最上方,然後存檔
     Like  Bookmark
  • version : Linux kernel 5.14.16、ubuntu 20.04 get_number_of_context_switches & get_number_of_entering_a_wait_queue Path : include/linux/sched.h task_struct內記錄 context switch 次數之變數 nvcsw (自願性) nivcsw (非自願性) last_switch_count (nvcsw+nivcsw)
     Like  Bookmark
  • 內容 : 寫一個system call從kernel space找出指定 process(task)的code(text)段的位址 task_struct Add a system call & compile Linux Kernel (1) Get the Linux kernel source code 到 The Linux Kernel Archives查詢版本,這裡下載的版本為5.14.16 $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.16.tar.xz
     Like  Bookmark