diff options
author | eb | 2008-03-24 07:46:47 +0000 |
---|---|---|
committer | eb | 2008-03-24 07:46:47 +0000 |
commit | a0eae4b4a9e0635fbb2a983673d1dd942f150ea7 (patch) | |
tree | 5e48b8ac6953d91706fbe601e8a5803a0c903699 /gcell/src/include | |
parent | b1408be636817de8bfb39f154cc3db0d3736434c (diff) | |
download | gnuradio-a0eae4b4a9e0635fbb2a983673d1dd942f150ea7.tar.gz gnuradio-a0eae4b4a9e0635fbb2a983673d1dd942f150ea7.tar.bz2 gnuradio-a0eae4b4a9e0635fbb2a983673d1dd942f150ea7.zip |
Fix for gcell corrrectness/performance problem. Replaces mfc_sync
with appropriate use of tag and fenced get. We could pick up a bit
of additional performance by double buffering the the local store
job descriptor, but that's left for a rainy day.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8090 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gcell/src/include')
-rw-r--r-- | gcell/src/include/spu/gc_jd_queue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcell/src/include/spu/gc_jd_queue.h b/gcell/src/include/spu/gc_jd_queue.h index f1ce1b3bd..7a6ac2e21 100644 --- a/gcell/src/include/spu/gc_jd_queue.h +++ b/gcell/src/include/spu/gc_jd_queue.h @@ -35,12 +35,14 @@ __GC_BEGIN_DECLS * * \param[in] q is EA address of queue structure. * \param[out] item_ea is EA address of item at head of queue. + * \param[in] jd_tag is the tag to use to get the LS copy of the item. * \param[out] item is local store copy of item at head of queue. * \returns false if the queue is empty, otherwise returns true * and sets \p item_ea and DMA's job descriptor into \p item */ bool -gc_jd_queue_dequeue(gc_eaddr_t q, gc_eaddr_t *item_ea, gc_job_desc_t *item); +gc_jd_queue_dequeue(gc_eaddr_t q, gc_eaddr_t *item_ea, + int jd_tag, gc_job_desc_t *item); /*! |