当前位置:网站首页>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 :
边栏推荐
- In this indifferent world, light crying
- Codeforces Round #716 (Div. 2) D. Cut and Stick
- Sword finger offer 06 Print linked list from beginning to end
- R语言【数据集的导入导出】
- Sword finger offer 05 Replace spaces
- 剑指 Offer 53 - I. 在排序数组中查找数字 I
- Demonstration of using Solon auth authentication framework (simpler authentication framework)
- SAP method of modifying system table data
- How many checks does kubedm series-01-preflight have
- 剑指 Offer 04. 二维数组中的查找
猜你喜欢
[to be continued] [UE4 notes] L2 interface introduction
Reader writer model
Improvement of pointnet++
[jailhouse article] jailhouse hypervisor
Sword finger offer 53 - I. find the number I in the sorted array
Pointnet++学习
lxml. etree. XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
Sword finger offer 53 - ii Missing numbers from 0 to n-1
【实战技能】非技术背景经理的技术管理
[merge array] 88 merge two ordered arrays
随机推荐
[binary search] 34 Find the first and last positions of elements in a sorted array
剑指 Offer 04. 二维数组中的查找
[to be continued] [depth first search] 547 Number of provinces
object serialization
F - Two Exam(AtCoder Beginner Contest 238)
读者写者模型
卷积神经网络简介
Solution to the palindrome string (Luogu p5041 haoi2009)
CF1637E Best Pair
AtCoder Grand Contest 013 E - Placing Squares
Sword finger offer 06 Print linked list from beginning to end
Drawing dynamic 3D circle with pure C language
Graduation project of game mall
【实战技能】非技术背景经理的技术管理
Acwing 4300. Two operations
Cluster script of data warehouse project
Codeforces Round #716 (Div. 2) D. Cut and Stick
【Jailhouse 文章】Look Mum, no VM Exits
Talking about JVM (frequent interview)
Palindrome (csp-s-2021-palin) solution