
system
自驱
ALOHA HEJA HE
展开
-
【ContextSwitch CS】 寻找CS最多的进程
1 命令grep voluntary_ctxt_switches /proc/*/status | sort -rnk2 | head -n20grep voluntary_ctxt_switches /proc/12842/status // 进程12842voluntary_ctxt_switches: 52089334 // 主动切换上下文次数nonvoluntary_ctxt_switches: 196408 // 被动切换上下文次数2 执行命令 ...原创 2020-12-15 09:35:03 · 243 阅读 · 0 评论 -
代码雨【code rain】 cmd 命令快速实现 + java 实现
1 保存 .bat 批处理文件2 核心代码 参考@echo offtitle AHHHHHHcolor 02echo This Matrix Affect was created by Supermanecho This program will shut down your computer!echo The Matrix Effect begins inping -n 2...原创 2019-03-03 01:00:16 · 24866 阅读 · 1 评论 -
【计算机程序的解释和构造】recursive 寄存器 stack级别实现
0java code:public static int fact(int n) {if(n == 1){return 1;}return n * fact(n-1);//代码指令}1 data-path2 code/* * (controller * (assign continue (label fact-done)) *...原创 2019-07-11 19:49:00 · 202 阅读 · 0 评论