[BACK]Return to gc_risa.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/gc_risa.c between version 1.8 and 1.10

version 1.8, 2009/02/06 10:11:12 version 1.10, 2011/05/11 06:03:53
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2000/parse/gc_risa.c,v 1.7 2009/02/06 08:58:28 ohara Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2000/parse/gc_risa.c,v 1.9 2009/02/16 17:23:52 ohara Exp $ */
   
   #if defined(VISUAL)
   #include "private/gcconfig.h"
   #endif
 #include "gc.h"  #include "gc.h"
 #include <time.h>  #include <time.h>
   
Line 46  int get_heapsize()
Line 49  int get_heapsize()
 #define BYTES_TO_WORDS(x)   ((x)>>2)  #define BYTES_TO_WORDS(x)   ((x)>>2)
 #endif  #endif
   
 long get_allocwords()  size_t get_allocwords()
 {  {
         size_t n = GC_get_total_bytes();          size_t n = GC_get_total_bytes();
         return (long)BYTES_TO_WORDS(n); /* bytes to words */          return BYTES_TO_WORDS(n); /* bytes to words */
 }  }
   
 static double asir_start_time;  static double asir_start_time;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.10

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>