当前位置:网站首页>Time of process
Time of process
2022-07-05 05:34:00 【Raise items】
List of articles
system time
CPU
Running on the Kernel mode Time for
User time
CPU
Running on the User mode Time for
Real time
Process from Start to end The total time of , Include I/O
Time ,CPU
Time , Process switching And so on .
example
myCp.c
#include <stdio.h>
#include <unistd.h>
int main()
{
int size = 1;
char buf[size];
int n = 0;
while ((n = read(STDIN_FILENO, buf, size)) > 0) {
if (write(STDOUT_FILENO, buf, n) != n) {
printf("write error\n");
break;
}
}
sleep(1);
return 0;
}
Running results :
边栏推荐
- How many checks does kubedm series-01-preflight have
- Gbase database helps the development of digital finance in the Bay Area
- 挂起等待锁 vs 自旋锁(两者的使用场合)
- Acwing 4300. Two operations
- Service fusing hystrix
- Haut OJ 1316: sister choice buys candy III
- [binary search] 69 Square root of X
- 常见的最优化方法
- sync. Interpretation of mutex source code
- 剑指 Offer 58 - II. 左旋转字符串
猜你喜欢
CF1637E Best Pair
剑指 Offer 05. 替换空格
Palindrome (csp-s-2021-palin) solution
Codeforces round 712 (Div. 2) d. 3-coloring (construction)
从Dijkstra的图灵奖演讲论科技创业者特点
Pointnet++ learning
剑指 Offer 06.从头到尾打印链表
Talking about JVM (frequent interview)
Little known skills of Task Manager
Hang wait lock vs spin lock (where both are used)
随机推荐
每日一题-搜索二维矩阵ps二维数组的查找
F - Two Exam(AtCoder Beginner Contest 238)
How can the Solon framework easily obtain the response time of each request?
CF1634 F. Fibonacci Additions
Talking about JVM (frequent interview)
ssh免密登录设置及使用脚本进行ssh登录并执行指令
Warning using room database: schema export directory is not provided to the annotation processor so we cannot export
Reflection summary of Haut OJ freshmen on Wednesday
EOJ 2021.10 E. XOR tree
剑指 Offer 05. 替换空格
Add level control and logger level control of Solon logging plug-in
Pointnet++学习
利用HashMap实现简单缓存
Pointnet++的改进
从Dijkstra的图灵奖演讲论科技创业者特点
Haut OJ 1245: large factorial of CDs --- high precision factorial
剑指 Offer 58 - II. 左旋转字符串
挂起等待锁 vs 自旋锁(两者的使用场合)
Haut OJ 1352: string of choice
【Jailhouse 文章】Jailhouse Hypervisor