首页 Home.
-
### Concepts: the "response time" (the time a job spends waiting after arrival before first running); the "turnaround time" (the time it took to complete the job since first arrival); the total "wait time" (any time spent ready but not running). 1&2: I will simply combine both of 2 questions and dra […]
2025年11月24日 12 次浏览 -
We used Deepseek and Chatgpt to generate the code we use to measure. ### 1. Time cost of syscall: ```c /** * System Call Overhead Measurement * Measures the time cost of a zero-byte read system call * Uses clock_gettime with MONOTONIC clock for precise timing * Binds process to single CPU for consis […]
2025年11月23日 11 次浏览 -
1.Let's see what if we change the variant v separately. ```c root@C202511211157657:~# gcc main.c -o a.out root@C202511211157657:~# cat main.c #include #include #include #include #include #include int main(int argc, char *argv[]) { int v = 0; int rc = fork(); if (rc < 0) { // fork failed; exit fprint […]
2025年11月22日 10 次浏览 -
Note: I converted the original process-run.py using ChatGPT because I am too lasy to have another python on my server. I shared the file below as someone may also need one. Hopefully it won't involve me into copyright issues, but if it did, please kindly tell me. [process-run.py for Python3](https:/ […]
2025年11月22日 6 次浏览 -
I made my own Gameboy emulator last year. Recently when I show it off to my friend, he asked me a thought-provoking question that I never came up with but should have: Does it need a operating system to run the game? Certainly, I knew the answer, because I had provide sufficient implement that a who […]
2025年11月22日 10 次浏览 -
Refactoring could be tempting, especially when you've finished reading a tech book, or some training course, you might feel yourself capable enough to get something done. After all, you can't tolerate the shitty codes in the old big rotten code base anymore. The rush won't stop until you finally str […]
2025年11月21日 8 次浏览 -
再次回到那场永恒的暑假。本视频记录了前往《Summer Pockets》(夏日口袋)取景地的圣地巡礼 VLog,带你重温作品中那份专属夏日的感动与宁静。
2025年7月16日 373 次浏览 -
记录端午期间赴高松、直岛及男木岛的《Summer Pockets》圣地巡礼,分享与同好不期而遇的惊喜及男木岛“口袋猫基地”的感动体验。
2025年6月6日 1,172 次浏览 -
分享 Key 社作品《Summer Pockets》中紬文德斯的角色曲《紬の夏休み》吉他指弹演示,重温那段关于夏天与歌谣的回忆。
2025年5月17日 800 次浏览 -
介绍缓解拖延症的“20秒启动法”:通过将繁琐任务简化为20秒内可开启的小行动,利用惯性对抗本能抗拒,从而有效改善习得性无助。
2025年4月14日 1,157 次浏览
