Date: | Sun, 25 Oct 2009 12:14:24 -0500 |
---|---|
From: | Polina Dudnik <pdudnik@xxxxxxxxx> |
Subject: | Re: [Gems-users] Strange behavior (BARRIER_CYCLE = 0) collected of vacation on LogTM-SE |
Ruzhu, Did you turn on all the debugging? Do you see the message that indicates that a thread entered the barrier? Because my bet would be that either you are not running multithreaded or vacation never goes down the path that has the barrier.
Here's something that could help you debug: define some magic calls that just print a message and place them in vacation to see where it is and what it is doing. So, right in the barrier function, just put in the magic call that prints out how many threads are in the barrier by now. That will let you see whether or not barrier is ever invoked and how many threads are in the barrier. Don't put in printf, that won't work as well because the print doesn't make it to the terminal immediately whereas the magic call will print immediately.
Polina
On Sun, Oct 25, 2009 at 4:06 AM, ruzhu kao <kaoruzhu@xxxxxxxxx> wrote: Hi all: |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [Gems-users] Strange behavior (BARRIER_CYCLE = 0) collected of vacation on LogTM-SE, ruzhu kao |
---|---|
Next by Date: | Re: [Gems-users] GEMS: how to find out the frequency of GEMS, Polina Dudnik |
Previous by Thread: | [Gems-users] Strange behavior (BARRIER_CYCLE = 0) collected of vacation on LogTM-SE, ruzhu kao |
Next by Thread: | Re: [Gems-users] Strange behavior (BARRIER_CYCLE = 0) collected of vacation on LogTM-SE, ruzhu kao |
Indexes: | [Date] [Thread] |