[MERGE] trace.debug_memory() for Win32

John Arbash Meinel john at arbash-meinel.com
Wed Feb 18 03:14:36 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since I've been working on win32 a bit, I've been missing the ability to
use "-Dmemory" to get a measurement of the peak memory consumption.

So I tracked down an appropriate win32 api, and wrote something up. No
specific tests, but I did test that the win32process code and the ctypes
code end up with the same values.

It is a pretty minimal output, but it seems to have the info that I
would be interested in.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmbfRsACgkQJdeBCYSNAAME2QCgpFI/FFdYGEeJc/kF55rqD7oz
ZbMAn0sq2+OzBTTV+F0hBcymTUmAjt8w
=EcVI
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32_dmemory.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20090217/c6c65c9c/attachment-0001.diff 


More information about the bazaar mailing list