[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7697 - in gnuradio/branches/developers/eb/gcell-multi
From: |
eb |
Subject: |
[Commit-gnuradio] r7697 - in gnuradio/branches/developers/eb/gcell-multi-q/src: apps lib |
Date: |
Thu, 14 Feb 2008 20:42:10 -0700 (MST) |
Author: eb
Date: 2008-02-14 20:42:10 -0700 (Thu, 14 Feb 2008)
New Revision: 7697
Modified:
gnuradio/branches/developers/eb/gcell-multi-q/src/apps/benchmark_nop.cc
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.cc
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.h
Log:
work-in-progress
Modified:
gnuradio/branches/developers/eb/gcell-multi-q/src/apps/benchmark_nop.cc
===================================================================
--- gnuradio/branches/developers/eb/gcell-multi-q/src/apps/benchmark_nop.cc
2008-02-15 03:39:25 UTC (rev 7696)
+++ gnuradio/branches/developers/eb/gcell-multi-q/src/apps/benchmark_nop.cc
2008-02-15 03:42:10 UTC (rev 7697)
@@ -39,7 +39,7 @@
static void
run_test(unsigned int nspes, unsigned int usecs, int njobs, unsigned int
nqueues)
{
- static const int NJDS = 32;
+ static const int NJDS = 64;
int nsubmitted = 0;
int ncompleted = 0;
gc_job_desc *all_jds[NJDS];
Modified:
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.cc
===================================================================
---
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.cc
2008-02-15 03:39:25 UTC (rev 7696)
+++
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.cc
2008-02-15 03:42:10 UTC (rev 7697)
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007 Free Software Foundation, Inc.
+ * Copyright 2007,2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -191,7 +191,7 @@
// initalize the job queues
if (d_options.nqueues == 0) // work out better default
- d_options.nqueues = 2;
+ d_options.nqueues = 1;
if ((int) d_options.nqueues > nusable_spes)
d_options.nqueues = nusable_spes;
@@ -252,7 +252,7 @@
d_worker[i].spu_args->comp_info[0] = ptr_to_ea(&d_comp_info[2*i+0]);
d_worker[i].spu_args->comp_info[1] = ptr_to_ea(&d_comp_info[2*i+1]);
d_worker[i].spu_args->spu_idx = i;
- d_worker[i].spu_args->nspus = d_options.nspes / d_options.nqueues;
+ d_worker[i].spu_args->nspus = d_options.nspes / d_options.nqueues;
// scale nspes
d_worker[i].state = WS_INIT;
int r = spe_program_load(d_worker[i].spe_ctx, spe_image);
Modified:
gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.h
===================================================================
--- gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.h
2008-02-15 03:39:25 UTC (rev 7696)
+++ gnuradio/branches/developers/eb/gcell-multi-q/src/lib/gc_job_manager_impl.h
2008-02-15 03:42:10 UTC (rev 7697)
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007 Free Software Foundation, Inc.
+ * Copyright 2007,2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7697 - in gnuradio/branches/developers/eb/gcell-multi-q/src: apps lib,
eb <=