Home | History | Annotate | Download | only in netperf

Lines Matching full:proc_stat_fd

52 static int proc_stat_fd = -1;
62 "cpu_util_init enter, proc_stat_fd %d proc_stat_buf %p\n",
63 proc_stat_fd,
67 if (proc_stat_fd < 0) {
68 proc_stat_fd = open (PROC_STAT_FILE_NAME, O_RDONLY, NULL);
69 if (proc_stat_fd < 0) {
98 close(proc_stat_fd);
99 proc_stat_fd = -1;
114 if (proc_stat_fd < 0) {
115 proc_stat_fd = open (PROC_STAT_FILE_NAME, O_RDONLY, NULL);
116 if (proc_stat_fd < 0) {
151 lseek (proc_stat_fd, 0, SEEK_SET);
152 read (proc_stat_fd, p, proc_stat_buflen);