From 5925616177637852258
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,595bb1616731f165,start
X-Google-Attributes: gidf78e5,public
From: "Georg C. F. Greve" <greve@gnu.org>
Subject: Determine Memory overhead of Objects?
Date: 1999/10/31
Message-ID: <ufzox0zxvr.fsf@fusebox.hanse.de>#1/1
X-Deja-AN: 542638541
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
X-Request-PGP: mailto:greve-public@fusebox.hanse.de
X-Original-Date: 30 Oct 1999 16:11:52 +0100
Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="pgp-sign-Multipart_Sat_Oct_30_17:11:46_1999-1"; micalg=pgp-md5
X-Complaints-To: news@news.unimelb.edu.au
X-PGP-Affinity: will accept encrypted messages for GPG and PGP Version 2.6.3i
X-Trace: ariel.ucs.unimelb.edu.au 941345876 17213 128.250.37.153 (31 Oct 1999 04:57:56 GMT)
Organization: GNU Project
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAOBvMSOEDnX0m9pzZAQEF+gF/SUkr7TQxodqiXVtRWeS9tQbY2g/ZdHu1 Fub8QvfFlFzox7aq/DC2cfdbGgYsCSpS =XGxH
X-Home-Page: http://www.gnu.org/people/greve.html
X-ICQ-Number: 10016966
Mime-Version: 1.0 (generated by tm-edit 7.106)
NNTP-Posting-Date: 31 Oct 1999 04:57:56 GMT
Newsgroups: comp.std.c++

--pgp-sign-Multipart_Sat_Oct_30_17:11:46_1999-1
Content-Type: text/plain; charset=US-ASCII

Hi Everybody!

It is common knowledge that every allocation carries a certain bit of
overhead - meaning the memory "above" the actual memory that carries
internal system information.

As far as I know this is usually a system-dependant, constant amount
(if that should be wrong, please tell me) - is there any clean,
"standardized" way of retrieving the size of this overhead? 

Regards,
		Georg

-- 
Georg C. F. Greve <greve@gnu.org>
``Real programmers confuse Christmas and Halloween
  because DEC 25 = OCT 31.''            -- Unknown   

--pgp-sign-Multipart_Sat_Oct_30_17:11:46_1999-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: 2.6.3i
Comment: Processed by Mailcrypt 3.5.4, an Emacs/PGP interface

iQCVAwUBOBsKuFZXgZXDxqJtAQGLxAQAiFlQYwRe8gvYu97yDeP0WtOdEWBLYtSt
70y1Q/gcYGhLnxwk+KH28LRh0K474ELfZ2yAWBgho2u3XuUYN/fEt8RAVPsvsfRl
fPQLRi+n9E/ZlYvN2GxrWOVS3ppEx6qKa0ts6W8lLHPcv0nTPOV2EasO3fW1Zvtu
YPprMJVTVJA=
=m935
-----END PGP MESSAGE-----

--pgp-sign-Multipart_Sat_Oct_30_17:11:46_1999-1--
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



