From 59e378642e3b43cb0f579790e6fce6a0064ce153 Mon Sep 17 00:00:00 2001 From: Dylan Swiggett Date: Tue, 29 Nov 2016 22:34:37 +0000 Subject: [PATCH] Fixes small bug in struct proc_t documentation. From http://man7.org/linux/man-pages/man5/proc.5.html: (22) starttime %llu The time the process started after system boot. In kernels before Linux 2.6, this value was expressed in jiffies. Since Linux 2.6, the value is expressed in clock ticks (divide by sysconf(_SC_CLK_TCK)). --- proc/readproc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/readproc.h b/proc/readproc.h index 0d07c750..576fed4f 100644 --- a/proc/readproc.h +++ b/proc/readproc.h @@ -47,7 +47,7 @@ typedef struct proc_t { stime, // stat kernel-mode CPU time accumulated by process cutime, // stat cumulative utime of process and reaped children cstime, // stat cumulative stime of process and reaped children - start_time, // stat start time of process -- seconds since 1-1-70 + start_time, // stat start time of process -- seconds since system boot blkio_tics, // stat time spent waiting for block IO gtime, // stat guest time of the task in jiffies cgtime; // stat guest time of the task children in jiffies