commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8016 - in gnuradio/branches/developers/eb/gcell-wip/s


From: eb
Subject: [Commit-gnuradio] r8016 - in gnuradio/branches/developers/eb/gcell-wip/src/lib: . spu
Date: Thu, 13 Mar 2008 16:55:54 -0600 (MDT)

Author: eb
Date: 2008-03-13 16:55:54 -0600 (Thu, 13 Mar 2008)
New Revision: 8016

Modified:
   gnuradio/branches/developers/eb/gcell-wip/src/lib/gc_job_manager_impl.cc
   gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c
Log:
Computes correct answer, but takes a performance hit.


Modified: 
gnuradio/branches/developers/eb/gcell-wip/src/lib/gc_job_manager_impl.cc
===================================================================
--- gnuradio/branches/developers/eb/gcell-wip/src/lib/gc_job_manager_impl.cc    
2008-03-13 22:54:38 UTC (rev 8015)
+++ gnuradio/branches/developers/eb/gcell-wip/src/lib/gc_job_manager_impl.cc    
2008-03-13 22:55:54 UTC (rev 8016)
@@ -830,7 +830,7 @@
     return;
   }
 
-  if (1){
+  if (0){
     static int total_jobs;
     static int total_msgs;
     total_msgs++;

Modified: gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c
===================================================================
--- gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c     
2008-03-13 22:54:38 UTC (rev 8015)
+++ gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c     
2008-03-13 22:55:54 UTC (rev 8016)
@@ -540,6 +540,8 @@
   int tag = ci_tags + ci_idx;                  // use the current completion 
tag
   mfc_put(jd, jd_ea, sizeof(*jd), tag, 0, 0);
 
+  mfc_sync(tag);       // FIXME this makes it work, but is expensive
+
   
   // Tell PPE we're done with the job.
   //
@@ -549,14 +551,10 @@
 
   comp_info.job_id[comp_info.ncomplete++] = jd->sys.job_id;
 
-#if 0 // FIXME
-  flush_completion_info();
-#else
   if (comp_info.ncomplete == GC_CI_NJOBS){
     gc_log_write0(GCL_SS_SYS, 0x28);
     flush_completion_info();
   }
-#endif  
 }
 
 static void





reply via email to

[Prev in Thread] Current Thread [Next in Thread]