Open GoogleCodeExporter opened 8 years ago
I fixed the top one by changing the hardcoded setting of printw_offset=14 to 16
in i7z_Dual_Socket.c, but the footers still comes in the wrong place.
So, adjusted this code, adding 4 to each of the hard-coded y-positions:
if (socket_0.socket_num == 0)
{
mvprintw (35, 0, "C0 = Processor running without halting");
mvprintw (36, 0, "C1 = Processor running with halts (States >C0 are power saver)");
mvprintw (37, 0, "C3 = Cores running with PLL turned off and core cache turned off");
mvprintw (38, 0, "C6 = Everything in C3 + core state saved to last level cache");
mvprintw (39, 0, " Above values in table are in percentage over the last 1 sec");
mvprintw (40, 0, "[core-id] refers to core-id number in /proc/cpuinfo");
mvprintw (41, 0, "'Garbage Values' message printed when garbage values are read");
mvprintw (42, 0, " Ctrl+C to exit");
}
Really these numbers should be derived from the number of cores to be more
future-proof.
Original comment by amaccorm...@gmail.com
on 15 May 2012 at 6:42
thanks
yup, the dual socket code has just about 6 core spaces. when i wrote it i
intended to put everything within a 80x20 screen (and i broke that rule as the
temperature doesnot fit it anyways within that area) and now i guess with 10
cores/processors and maybe more in future i need some more space or redo how
to display everything
thanks a lot. i'll keep this issue open and in the next version add support to
print upto or more than 10 cores/processor
Original comment by abhirana
on 21 May 2012 at 4:46
Original comment by abhirana
on 21 May 2012 at 4:47
Original issue reported on code.google.com by
amaccorm...@gmail.com
on 15 May 2012 at 6:33