X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3ae712a1b95294052b6e8136d0f0f2d4b30e6eb..ed049f0370888f3b2ffd89f714492811aa8ef154:/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 */