[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8088 - in gnuradio/trunk/gcell/src: apps lib/runtime
From: |
eb |
Subject: |
[Commit-gnuradio] r8088 - in gnuradio/trunk/gcell/src: apps lib/runtime lib/runtime/spu |
Date: |
Mon, 24 Mar 2008 01:00:14 -0600 (MDT) |
Author: eb
Date: 2008-03-24 01:00:14 -0600 (Mon, 24 Mar 2008)
New Revision: 8088
Modified:
gnuradio/trunk/gcell/src/apps/benchmark_dma.cc
gnuradio/trunk/gcell/src/apps/benchmark_nop.cc
gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager.cc
gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager_impl.cc
gnuradio/trunk/gcell/src/lib/runtime/spu/gc_main.c
Log:
minor cleanup
Modified: gnuradio/trunk/gcell/src/apps/benchmark_dma.cc
===================================================================
--- gnuradio/trunk/gcell/src/apps/benchmark_dma.cc 2008-03-24 06:10:33 UTC
(rev 8087)
+++ gnuradio/trunk/gcell/src/apps/benchmark_dma.cc 2008-03-24 07:00:14 UTC
(rev 8088)
@@ -19,6 +19,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
#include "gc_job_manager.h"
#include "mb_time.h"
#include <getopt.h>
@@ -135,6 +138,10 @@
gbi = 0;
all_jds[i] = mgr->alloc_job_desc();
+ if (all_jds[i] == 0){
+ fprintf(stderr, "alloc_job_desc() returned 0\n");
+ return;
+ }
init_jd(all_jds[i], usecs, &getbuf[gbi], &putbuf[gbi], dma_size,
getput_mask);
gbi += dma_size;
}
@@ -176,7 +183,10 @@
}
else {
ncompleted++;
- // printf("ncompleted = %7d\n", ncompleted);
+ if (jds[ci][i]->status != JS_OK){
+ printf("js_status = %d, job_id = %d, ncompleted = %d\n",
+ jds[ci][i]->status, jds[ci][i]->sys.job_id, ncompleted);
+ }
if (nsubmitted < njobs){ // submit another one
if (mgr->submit_job(jds[ci][i])){
jds[ci^1][njds[ci^1]++] = jds[ci][i]; // remember for next iter
Modified: gnuradio/trunk/gcell/src/apps/benchmark_nop.cc
===================================================================
--- gnuradio/trunk/gcell/src/apps/benchmark_nop.cc 2008-03-24 06:10:33 UTC
(rev 8087)
+++ gnuradio/trunk/gcell/src/apps/benchmark_nop.cc 2008-03-24 07:00:14 UTC
(rev 8088)
@@ -19,6 +19,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
#include "gc_job_manager.h"
#include "mb_time.h"
#include <getopt.h>
Modified: gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager.cc
===================================================================
--- gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager.cc 2008-03-24
06:10:33 UTC (rev 8087)
+++ gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager.cc 2008-03-24
07:00:14 UTC (rev 8088)
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "gc_job_manager.h"
#include "gc_job_manager_impl.h"
Modified: gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager_impl.cc
===================================================================
--- gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager_impl.cc 2008-03-24
06:10:33 UTC (rev 8087)
+++ gnuradio/trunk/gcell/src/lib/runtime/gc_job_manager_impl.cc 2008-03-24
07:00:14 UTC (rev 8088)
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <gc_job_manager_impl.h>
#include <gc_mbox.h>
Modified: gnuradio/trunk/gcell/src/lib/runtime/spu/gc_main.c
===================================================================
--- gnuradio/trunk/gcell/src/lib/runtime/spu/gc_main.c 2008-03-24 06:10:33 UTC
(rev 8087)
+++ gnuradio/trunk/gcell/src/lib/runtime/spu/gc_main.c 2008-03-24 07:00:14 UTC
(rev 8088)
@@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define ENABLE_GC_LOGGING // define to enable logging
+// #define ENABLE_GC_LOGGING // define to enable logging
#include <spu_intrinsics.h>
#include <spu_mfcio.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8088 - in gnuradio/trunk/gcell/src: apps lib/runtime lib/runtime/spu,
eb <=