Image

Imagepixelpoet wrote in Imagecpp

i'm using linux-2.4.20
i found something called

fs/proc/proc_misc.o that has code like this..

.................MORE STUFF
.........
.....
static int loadavg_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
int a, b, c;
int len;

a = avenrun[0] + (FIXED_1/200);
b = avenrun[1] + (FIXED_1/200);
c = avenrun[2] + (FIXED_1/200);
len = sprintf(page,"%d.%02d %d.%02d %d.%02d %d/%d %d\n",
LOAD_INT(a), LOAD_FRAC(a),
LOAD_INT(b), LOAD_FRAC(b),
LOAD_INT(c), LOAD_FRAC(c),
nr_running, nr_threads, last_pid);
return proc_calc_metrics(page, start, off, count, eof, len);
}
.................................. MORE STUFF

is this where i put in my code for time? in this file?
if it is, after i write code, do i have to change the make file?
or just recompile?