ac.ac_etime = encode_comp_t(jiffies - current->start_time);
so it is given in multiples of HZ, which makes this value
platform-dependent (and subject of overflow after 48.5 days with HZ=1024).
In include/linux/acct.h however there is the definition
#define AHZ 100
which somehow smells like the preferred time unit.
Comments?
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/