X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28e0e67cf29da1423d9932ec05870d08394af669..0700b488178346d3cccc454f641a7155c6ff6026:/include/xbt/misc.h diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 3be8fc11f4..a0620abe54 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -235,6 +235,9 @@ SG_BEGIN_DECL() /** Cache the size of a memory page for the current system. */ XBT_PUBLIC_DATA(int) xbt_pagesize; +/** Cache the number of bits of addresses inside a given page, log2(xbt_pagesize). */ + XBT_PUBLIC_DATA(int) xbt_pagebits; + XBT_PUBLIC(const char *) xbt_procname(void); #define XBT_BACKTRACE_SIZE 10 /* FIXME: better place? Do document */