Re: [android-kernel] Re: renice processes

2012-06-06 Thread Kanishka Ariyapala
Thank you Glenn for the reply. I was able to solve this issue with a kernel module by changing the nice value. now have the issue of measuring..I mean after the change is there more cpu usage etc. ex-top gives cpu usage. what are the cmds or methods of measuring cpu usage effectively (to test the e

[android-kernel] Re: renice processes

2012-06-06 Thread Glenn Kasten
See setpriority(2). The calling process will need CAP_SYS_NICE capability; see capabilities(7). On Thursday, May 31, 2012 6:30:43 PM UTC-7, DK wrote: > > Hi, > > I want to renice the value of a process depending on a sensor > value(GPS), with out issuing the renice cmd. How can this be achieved