Re: [Gems-users] Modifying stats


Date: Thu, 26 Jul 2007 16:50:11 +0200 (CEST)
From: Joaquin Sanchez Sanchez <joaquin_barcelo_12@xxxxxxxx>
Subject: Re: [Gems-users] Modifying stats
I have proved the following:
in the GEMS/ruby/network/simple/PerfectSwitch.C file, in the wakeup function, at the end of it I have added the following code:
m_out[outgoing][vnet]->enqueue(msg_ptr);
      cout << "# of cycle: " << g_eventQueue_ptr->getTime() << endl ;
      cout << "TYPE OF MESSAGE "<< net_msg_ptr << endl;
      cout << "IN MESSAGE SIZE: "<< m_in.size() << endl;
      cout << "OUT MESSAGE SIZE: "<< m_out.size() << endl;
      cout << "---------------------------------------------------------------------------------" << endl;
        }
But I can solve the problem of knowing the type of the message and who sends and who receives. Can anyone solve this?



Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .
[← Prev in Thread] Current Thread [Next in Thread→]