How many processors are you running? Is your counter a global variable?
Maybe you are counting a single node's OTHER_GETS?
On Thu, 01 Sep 2005 May Zhao wrote :
> I am using MOSI_SMP_bcast. I tried to count the times of OTHER_GETS and
> modify it's execution, so I add a counter in "address network" as follows.
> But the number is different with that in "ruby0.dump-stats ruby.stats". I
> got 20, but in ruby.stats it's 199. What's my problem? Where I should put
> my counter?
> Thanks for your help.
>
>
> // Address Network
> in_port(addressNetwork_in, AddressMsg, addressToCache) {
> if (addressNetwork_in.isReady()) {
> peek(addressNetwork_in, AddressMsg) {
> DEBUG_EXPR(in_msg.Type);
> if (in_msg.Type == CoherenceRequestType:GETS) {
> if (in_msg.Requestor == machineID) {
> trigger(Event:Own_GETS, in_msg.Address);
> } else {
> add_counter(); //////////////////here is my
> counter
> trigger(Event:Other_GETS, in_msg.Address);
> }
>
>
> May Zhao
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> School of Informatics and Engineering
> Engineering Building
> Flinders University,
> Adelaide 5042, S.A.
> Australia.
>
> Home Phone: (08) 8357 5983
> Office Phone: (08) 8201 5158
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
|