📄 cc_etimes.c
字号:
#include <sys/times.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <ilupack.h>#include <ilupackmacros.h>#if 0NAME times - get process timesSYNOPSIS #include <sys/times.h> clock_t times(struct tms *buf);DESCRIPTION The times() function stores the current process times in the struct tms that buf points to. The struct tms is as defined in <sys/times.h>: struct tms { clock_t tms_utime; /* user time */ clock_t tms_stime; /* system time */ clock_t tms_cutime; /* user time of children */ clock_t tms_cstime; /* system time of children */ }; The tms_utime field contains the CPU time spent executing instructions of the calling process. The tms_stime field contains the CPU time spent in the sys
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -