Changeset 1999 in Sophya for trunk/ArchTOIPipe/Kernel


Ignore:
Timestamp:
May 13, 2002, 5:50:50 PM (23 years ago)
Author:
ansari
Message:

Ajout flags, correction classe espion RzProcSampleCounter - Reza 13/5/2002

Location:
trunk/ArchTOIPipe/Kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/flagtoidef.h

    r1767 r1999  
    44//                               Christophe Magneville
    55//                               Reza Ansari
    6 // $Id: flagtoidef.h,v 1.6 2001-11-15 10:42:17 aubourg Exp $
     6// $Id: flagtoidef.h,v 1.7 2002-05-13 15:50:49 ansari Exp $
    77
    88#ifndef FLAGTOIDEF_H
     
    2626// Sample killed because near a "flaggued" one ...
    2727  FlgToiAround  =  (unsigned long long)1 << 6,
     28// Sample belonging to a source or galaxy
     29  FlgToiSource =  (unsigned long long)1 << 7,
    2830// All bit to one ...
    2931#ifdef IRIX64
  • trunk/ArchTOIPipe/Kernel/toimanager.cc

    r1759 r1999  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toimanager.cc,v 1.12 2001-11-13 15:47:26 aubourg Exp $
     5// $Id: toimanager.cc,v 1.13 2002-05-13 15:50:50 ansari Exp $
    66
    77#include "toimanager.h"
     
    8181  TOIManager* mgr = TOIManager::getManager();
    8282 
    83   istart = mgr->getRequestedBegin();
    84   iend = mgr->getRequestedEnd();
     83  //  istart = mgr->getRequestedBegin();
     84  //  iend = mgr->getRequestedEnd();
     85  istart = SampleBegin();
     86  iend = SampleEnd();
    8587 
    8688  dns_print = (iend-istart)/dns_print_fac;
  • trunk/ArchTOIPipe/Kernel/toimanager.h

    r1766 r1999  
    55//                               Christophe Magneville
    66//                               Reza Ansari
    7 // $Id: toimanager.h,v 1.11 2001-11-14 14:49:05 aubourg Exp $
     7// $Id: toimanager.h,v 1.12 2002-05-13 15:50:50 ansari Exp $
    88
    99
     
    4545  virtual       ~RzProcSampleCounter();
    4646  virtual long  ProcessedSampleCount() = 0;
     47  virtual long  SampleBegin() = 0;
     48  virtual long  SampleEnd() = 0;
    4749  virtual long  PrintStats();
    4850  inline int &  PrintRate(int pr) { return _rate; }
     
    5961  virtual long  ProcessedSampleCount()
    6062  { return _t->ProcessedSampleCount(); }
     63  virtual long  SampleBegin() { return _t->getMinIn(); }
     64  virtual long  SampleEnd() { return _t->getMaxIn(); }
    6165protected:
    6266  const T * _t;
Note: See TracChangeset for help on using the changeset viewer.