当前位置:网站首页>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 :

边栏推荐
- Improvement of pointnet++
- lxml. etree. XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
- Haut OJ 1357: lunch question (I) -- high precision multiplication
- 第六章 数据流建模—课后习题
- Mysql database (I)
- Daily question - Search two-dimensional matrix PS two-dimensional array search
- [to be continued] [UE4 notes] L1 create and configure items
- Yolov5 adds attention mechanism
- Demonstration of using Solon auth authentication framework (simpler authentication framework)
- Haut OJ 1316: sister choice buys candy III
猜你喜欢

Corridor and bridge distribution (csp-s-2021-t1) popular problem solution

Sword finger offer 53 - I. find the number I in the sorted array

个人开发的渗透测试工具Satania v1.2更新

剑指 Offer 05. 替换空格

Hang wait lock vs spin lock (where both are used)

YOLOv5添加注意力機制

Reader writer model

Sword finger offer 05 Replace spaces

YOLOv5添加注意力机制
![[jailhouse article] performance measurements for hypervisors on embedded ARM processors](/img/c0/4843f887f77b80e3b2329e12d28987.png)
[jailhouse article] performance measurements for hypervisors on embedded ARM processors
随机推荐
Reflection summary of Haut OJ freshmen on Wednesday
To the distance we have been looking for -- film review of "flying house journey"
全排列的代码 (递归写法)
Haut OJ 1218: maximum continuous sub segment sum
Csp-j-2020-excellent split multiple solutions
How can the Solon framework easily obtain the response time of each request?
CF1634 F. Fibonacci Additions
Haut OJ 1357: lunch question (I) -- high precision multiplication
kubeadm系列-00-overview
二十六、文件系统API(设备在应用间的共享;目录和文件API)
Detailed explanation of expression (csp-j 2021 expr) topic
过拟合与正则化
Improvement of pointnet++
【实战技能】非技术背景经理的技术管理
剑指 Offer 09. 用两个栈实现队列
Pointnet++ learning
【Jailhouse 文章】Look Mum, no VM Exits
A new micro ORM open source framework
Sword finger offer 09 Implementing queues with two stacks
全国中职网络安全B模块之国赛题远程代码执行渗透测试 //PHPstudy的后门漏洞分析