------------------
Original ------------------
Date: Tue, Apr 13, 2010 07:56 PM
Subject: [Gems-users] why router power is negative
number£¿£¿
Hi list:
I use the GEMS for a CMP system with 16 core TILED topolgy. I
can get the power of link. but the power of router is nagative number
(Total Router Power = -4.13954e+17W). I have changed the code in
SIM_port.h file ( QUEUE_ARBITER repalced by RR_ARBITER), and
initialized the E_in_buf, E_xbar, etc variables in line no. 352 in the
NetworkPower.C file. I print the power of buffer, crossbar arbiter and
static, I found that the nagative number form buffer (E_in_buf<0).
then print the variables in SIM_reg_energy(power_array_info
*info, power_array *arr, double n_read, double n write) in
NetworkPower.C file. I think it maybe casuse by SWITCHING_FATOR.
Because the resault of SWITCHING_FACTOR is not 0.5 but very big (about
10^9).
So can anyone help me, why does this happen ? my host system is
AMD x64 and OS is DEBIN 5.