当前位置:网站首页>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 :
边栏推荐
- [interval problem] 435 Non overlapping interval
- [merge array] 88 merge two ordered arrays
- [to be continued] I believe that everyone has the right to choose their own way of life - written in front of the art column
- CCPC Weihai 2021m eight hundred and ten thousand nine hundred and seventy-five
- Talking about JVM (frequent interview)
- 个人开发的渗透测试工具Satania v1.2更新
- Codeforces Round #715 (Div. 2) D. Binary Literature
- On-off and on-off of quality system construction
- 剑指 Offer 06.从头到尾打印链表
- Haut OJ 1221: a tired day
猜你喜欢
从Dijkstra的图灵奖演讲论科技创业者特点
剑指 Offer 06.从头到尾打印链表
Gbase database helps the development of digital finance in the Bay Area
F - Two Exam(AtCoder Beginner Contest 238)
剑指 Offer 05. 替换空格
剑指 Offer 58 - II. 左旋转字符串
Yolov5 ajouter un mécanisme d'attention
[to be continued] [UE4 notes] L1 create and configure items
Sword finger offer 35 Replication of complex linked list
Educational Codeforces Round 116 (Rated for Div. 2) E. Arena
随机推荐
Haut OJ 1321: mode problem of choice sister
CF1634E Fair Share
Sword finger offer 05 Replace spaces
sync.Mutex源码解读
Codeforces Round #716 (Div. 2) D. Cut and Stick
Maximum number of "balloons"
Yolov5 adds attention mechanism
Haut OJ 1352: string of choice
To be continued] [UE4 notes] L4 object editing
[jailhouse article] jailhouse hypervisor
卷积神经网络——卷积层
Time complexity and space complexity
[binary search] 34 Find the first and last positions of elements in a sorted array
SSH password free login settings and use scripts to SSH login and execute instructions
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
[merge array] 88 merge two ordered arrays
【Jailhouse 文章】Jailhouse Hypervisor
2020ccpc Qinhuangdao J - Kingdom's power
Haut OJ 1218: maximum continuous sub segment sum
Light a light with stm32