Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Dec 2008 14:29:29 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id mBCDTRkX032145 for ; Fri, 12 Dec 2008 14:29:28 +0100 Received: from comedy.dante.de (localhost. [127.0.0.1]) by comedy.dante.de (8.14.3/8.14.3/Debian-5) with ESMTP id mBCDTLRT001426; Fri, 12 Dec 2008 14:29:21 +0100 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by comedy.dante.de (8.14.3/8.14.3/Debian-5) with ESMTP id mBCDTIat001409 for ; Fri, 12 Dec 2008 14:29:19 +0100 Received: from morse.mittelbach-online.de (p54A86CA1.dip.t-dialin.net [84.168.108.161]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1LB84t3Y0T-0000ec; Fri, 12 Dec 2008 14:29:12 +0100 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 1211065B7E; Fri, 12 Dec 2008 14:29:09 +0100 (CET) MIME-Version: 1.0 Message-ID: <18754.26404.987454.824390@morse.mittelbach-online.de> Date: Fri, 12 Dec 2008 14:29:08 +0100 From: Frank Mittelbach To: Will Robertson , team LaTeX Subject: Re: \showMemUsage In-Reply-To: <18754.24135.433669.340395@morse.mittelbach-online.de> References: <18754.24135.433669.340395@morse.mittelbach-online.de> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V01U2FsdGVkX185z5wPAep3ENM+N7lvH61qZ54FZyjgMCc9Hum 4hp+UTDTNRBBc31Sf4/HkbZtE4SHjsHAILBAVTadxuJMsIv2y8 loKnRCAjaIJ9DdQ6Y7XbGF1vCr7iqE4 X-DANTE-Spam-Score: -2.6 () BAYES_00,SPF_HELO_PASS X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 X-Scanned-By: MIMEDefang 2.64 on 80.237.159.15 X-Scanned-By: MIMEDefang 2.64 on 80.237.159.15 X-BeenThere: latex-team@latex-project.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Frank Mittelbach List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: latex-team-bounces@latex-project.org Errors-To: latex-team-bounces@latex-project.org X-ProteoSys-SPAM-Score: -102.464 () BAYES_00,FORGED_RCVD_HELO,USER_IN_WHITELIST Return-Path: latex-team-bounces@latex-project.org X-OriginalArrivalTime: 12 Dec 2008 13:29:29.0970 (UTC) FILETIME=[A9598520:01C95C5D] Status: R X-Status: X-Keywords: X-UID: 5537 here we go ... the original definition from a lbase0 in nkernel (around 1993) % % During the development of the \LaTeX3 kernel we need to be able % to keep track of the memory usage. Therefor we generate empty % pages while loading the kernel code, just to be able to check the % memory usage. % % \begin{macrocode} %<*showmemory> \g_trace_statistics_status=2\scan_stop: \def:Npn\showMemUsage{ \if_hmode: \err_message:D{Wrong~ mode~ H:~ something~ triggered~ hmode~ above} \else: \message:D{Mode ~ okay} \fi: \page_shipout:D\hbox:w{} } \showMemUsage % % \end{macrocode} _______________________________________________ Latex-team mailing list Latex-team@latex-project.org https://lists.dante.de/mailman/listinfo/latex-team