Ignore:
Timestamp:
Jun 1, 2016, 10:25:43 AM (8 years ago)
Author:
meunier
Message:

In rosenfeld:

  • Updated nrio0, nrio1, nrio2, nrio1f, nrio2f, nrio1x, nrbool1, nrbool2 and nralloc1 in the nrc2 lib in order to use macro-typed functions
  • Updated the simulation script to include performance evaluation with random images, and a script to generate graphs
  • Updated the clock.h to use 64-bit integers, which potentially breaks the printing on the giet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/include/ecc_features.h

    r821 r822  
    2525// ------------------------------------------------------------------------
    2626
     27// @QM
     28// Je m'autorise à mettre des champs de la structure
     29// conditionnellement vis-à-vis de flags, car :
     30// 1. Il ne s'agit pas d'une bibliothÚque
     31// 2. Tous les fichiers .c dépendent de tous les .h, et donc
     32//    en particulier du fichier config.h qui définit les flags
     33// Il est donc impossible de mélanger deux fichiers binaires
     34// qui ont des définitions différentes de cette structure
    2735typedef struct {
    28 
    29   uint16  xmin;
    30   uint16  xmax;
    31   uint16  ymin;
    32   uint16  ymax;
    33 
    34   uint32  S;
    35 
    36   uint32  Sx;
    37   uint32  Sy;
     36#if FEATURES
     37  uint16 xmin;
     38  uint16 xmax;
     39  uint16 ymin;
     40  uint16 ymax;
     41
     42  uint32 S;
     43
     44  uint32 Sx;
     45  uint32 Sy;
     46#endif
    3847#if PARMERGE
    3948  pthread_spinlock_t lock;
    4049#endif
    41 
    4250} RegionStats;
    4351
     
    210218int RegionStatsVector_Match  (RegionStats *S1, int i0, int i1, RegionStats *S2, int j0, int j1);
    211219
    212 #ifdef __cplusplus
    213 }
    214 #endif
    215220
    216221#endif /* __FEATURES_H__ */
Note: See TracChangeset for help on using the changeset viewer.