当前位置:网站首页>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 :
边栏推荐
- 剑指 Offer 06.从头到尾打印链表
- Software test -- 0 sequence
- Codeforces Round #732 (Div. 2) D. AquaMoon and Chess
- kubeadm系列-02-kubelet的配置和启动
- Pointnet++ learning
- Hang wait lock vs spin lock (where both are used)
- Drawing dynamic 3D circle with pure C language
- [binary search] 34 Find the first and last positions of elements in a sorted array
- Haut OJ 1347: addition of choice -- high progress addition
- [es practice] use the native realm security mode on es
猜你喜欢
Graduation project of game mall
浅谈JVM(面试常考)
[article de jailhouse] jailhouse hypervisor
CCPC Weihai 2021m eight hundred and ten thousand nine hundred and seventy-five
剑指 Offer 58 - II. 左旋转字符串
Fried chicken nuggets and fifa22
第六章 数据流建模—课后习题
剑指 Offer 35.复杂链表的复制
Pointnet++ learning
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
随机推荐
Annotation and reflection
2020ccpc Qinhuangdao J - Kingdom's power
Using HashMap to realize simple cache
Zzulioj 1673: b: clever characters???
Sword finger offer 53 - ii Missing numbers from 0 to n-1
Drawing dynamic 3D circle with pure C language
Detailed explanation of expression (csp-j 2021 expr) topic
Service fusing hystrix
[binary search] 34 Find the first and last positions of elements in a sorted array
A problem and solution of recording QT memory leakage
二十六、文件系统API(设备在应用间的共享;目录和文件API)
【实战技能】如何做好技术培训?
Support multi-mode polymorphic gbase 8C database continuous innovation and heavy upgrade
Hang wait lock vs spin lock (where both are used)
26、 File system API (device sharing between applications; directory and file API)
YOLOv5添加注意力機制
To be continued] [UE4 notes] L4 object editing
剑指 Offer 58 - II. 左旋转字符串
ALU逻辑运算单元
YOLOv5添加注意力机制