diff options
author | Christopher Faylor <me@cgf.cx> | 2002-10-18 23:52:59 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-10-18 23:52:59 +0000 |
commit | 60bc7b5977b45844adb1223096066d635d6da0a2 (patch) | |
tree | 8d4efcd95b8be087fdbe4fecc6742fb043897ccf /winsup/cygwin/strace.cc | |
parent | 978ea3cf1c7b0e06791df78ade33d3c8201d7a15 (diff) | |
download | cygnal-60bc7b5977b45844adb1223096066d635d6da0a2.tar.gz cygnal-60bc7b5977b45844adb1223096066d635d6da0a2.tar.bz2 cygnal-60bc7b5977b45844adb1223096066d635d6da0a2.zip |
* fork.cc (fork_child): Move mmap initialization.
* shared.cc (shared_info::heap_chunk_size): Store info as megabytes. Search
HKEY_LOCAL_MACHINE as well as HKEY_CURRENT_USER.
* shared_info.h (shared_info::initial_heap_size): Change element name to
reflect new functionality.
* strace.cc (strace::hello): Report on initial heap size.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r-- | winsup/cygwin/strace.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 506d44ec9..cb367afeb 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -19,6 +19,7 @@ details. */ #include "cygwin_version.h" #include "hires.h" #include "cygthread.h" +#include "shared_info.h" #define PROTECT(x) x[sizeof (x)-1] = 0 #define CHECK(x) if (x[sizeof (x)-1] != 0) { small_printf ("array bound exceeded %d\n", __LINE__); ExitProcess (1); } @@ -57,6 +58,7 @@ strace::hello () cygwin_version.api_major, cygwin_version.api_minor); prntf (1, NULL, "DLL build: %s", cygwin_version.dll_build_date); prntf (1, NULL, "OS version: Windows %s", wincap.osname ()); + prntf (1, NULL, "Heap size: %u", cygwin_shared->heap_chunk_size ()); prntf (1, NULL, "**********************************************"); } } |