Changeset 57 for trunk/src/renetcolAgg.c

Show
Ignore:
Timestamp:
09/26/07 14:13:56 (15 years ago)
Author:
andreu
Message:

delete all CRIHAN code and some outputs; add param in check.sh

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcolAgg.c

    r47 r57  
    4848  int rrd_create_er_ct = 0; 
    4949  int rrd_create_ok_ct = 0; 
    50   int rrd_ct = 0; 
    5150  int isFirstUpdate = 1; 
    5251  key_t key; 
     
    5857  char *opt[27]; 
    5958  char *optUpdate[3]; 
    60   int res_rrd = 0; 
    6159  FILE *fp; 
    6260  static time_t now, now2; 
    63   struct shmid_ds shminfo; 
    6461   
    6562  key = 8765; 
     
    338335        /* END MATRIX INTER POP ACC */ 
    339336        now2 = time((time_t *)NULL); 
    340         /* #ifdef DEBUGAGG */ 
     337#ifdef DEBUGAGG 
    341338        fprintf(stderr, "IPv4 subnet managment (rrd update) : \n %d sec, %d files updated, %d errors, total %d\n %d rrd file already created, %d errors in creation, %d new rrd file creations", 
    342                 now2-now, 
     339                (int)now2-now, 
    343340                rrd_update_ok_ct, 
    344341                rrd_update_er_ct, 
     
    347344                rrd_create_er_ct, 
    348345                rrd_create_ok_ct); 
    349         /* #endif */ 
     346#endif 
    350347        rrd_update_ok_ct = 0; 
    351348        rrd_update_er_ct = 0;