当前位置:网站首页>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 :
边栏推荐
- Haut OJ 1316: sister choice buys candy III
- 26、 File system API (device sharing between applications; directory and file API)
- Haut OJ 1357: lunch question (I) -- high precision multiplication
- 剑指 Offer 09. 用两个栈实现队列
- 网络工程师考核的一些常见的问题:WLAN、BGP、交换机
- Light a light with stm32
- Pointnet++ learning
- Control Unit 控制部件
- Introduction to tools in TF-A
- Haut OJ 1352: string of choice
猜你喜欢
Graduation project of game mall
剑指 Offer 05. 替换空格
object serialization
[article de jailhouse] jailhouse hypervisor
CF1637E Best Pair
Web APIs DOM node
个人开发的渗透测试工具Satania v1.2更新
[to be continued] [depth first search] 547 Number of provinces
Reader writer model
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
随机推荐
Codeforces Round #715 (Div. 2) D. Binary Literature
Haut OJ 1357: lunch question (I) -- high precision multiplication
Animation scoring data analysis and visualization and it industry recruitment data analysis and visualization
游戏商城毕业设计
CF1634E Fair Share
Improvement of pointnet++
Annotation and reflection
利用HashMap实现简单缓存
A preliminary study of sdei - see the essence through transactions
Codeforces round 712 (Div. 2) d. 3-coloring (construction)
注解与反射
Codeforces Round #732 (Div. 2) D. AquaMoon and Chess
[jailhouse article] performance measurements for hypervisors on embedded ARM processors
个人开发的渗透测试工具Satania v1.2更新
Double pointer Foundation
PC寄存器
Cluster script of data warehouse project
26、 File system API (device sharing between applications; directory and file API)
Csp-j-2020-excellent split multiple solutions
After setting up the database and website When you open the app for testing, it shows that the server is being maintained