Skip to content

Instantly share code, notes, and snippets.

@rickyzhang82
rickyzhang82 / conftest.cpp
Last active August 19, 2017 17:55
test program on page zero mapping
/* confdefs.h */
#define PACKAGE_NAME "Basilisk II"
#define PACKAGE_TARNAME "BasiliskII"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "Basilisk II 1.0"
#define PACKAGE_BUGREPORT "Christian.Bauer@uni-mainz.de"
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1

At work, slow start up

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 31.15    0.003262          11       294           munmap
 10.59    0.001109           1       866         8 stat
  8.64    0.000905           1       617        32 open
  7.36    0.000771           3       236       159 recvmsg
  6.83    0.000715           2       401           read
  6.70    0.000702           4       177           poll