����14-33 linux/include/sys/times.h
1 #ifndef _TIMES_H
2 #define _TIMES_H
3
4 #include <sys/types.h> // ����ͷ�ļ��������˻�����ϵͳ�������͡�
5
6 struct tms {
7 time_t tms_utime; // �û�ʹ�õ�CPUʱ�䡣
8 time_t tms_stime; // ϵͳ���ںˣ�CPUʱ�䡣
9 time_t tms_cutime; // ����ֹ���ӽ���ʹ�õ��û�CPUʱ�䡣
10 time_t tms_cstime; // ����ֹ���ӽ���ʹ�õ�ϵͳCPUʱ�䡣
11 };
12
13 extern time_t times(struct tms * tp);
14
15 #endif
16