Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
metering
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joachim De Beule  
View profile  
 More options Apr 6 2001, 3:40 am
Newsgroups: comp.lang.lisp
From: Joachim De Beule <joac...@arti.vub.ac.be>
Date: 06 Apr 2001 09:38:20 +0200
Local: Fri, Apr 6 2001 3:38 am
Subject: metering

I post this message again because I did not yet get any answers yet,
sorry for the overhead.

I noticed some articles ago the program metering.cl for monitoring
lisp code.  This code needs a definition of a function BYTES-CONSED.

In the code I could find a definition for allegro-v3.1, v4.0 and v4.1:

   #+:allegro-v3.1
   (defun bytes-consed ()
     (let ((gs (sys::gsgc-map)))
       (+ (aref gs 3)                   ; new space
         (let ((sum 0))                 ; old space
            (dotimes (i (1+ (floor (/ (- (length gs) 13) 10))))
              (incf sum (aref gs (+ (* i 10) 13))))
            sum)))
     )

   ;;; Allegro V4.0/1. SYS::GSGC-MAP takes one argument, and returns an
   ;;; array representing the memory state.
   #+(or :allegro-v4.0 :allegro-v4.1)
   (defvar *gc-space-array* (make-array 4 :element-type '(unsigned-byte 32)))
   #+(or :allegro-v4.0 :allegro-v4.1)
   (defun bytes-consed ()
     (system:gsgc-totalloc *gc-space-array* t)
     (aref *gc-space-array* 0))

Does anybody know how to add support for allegro-v6.0?
(unfortunately I cannot find the documentation for the system package.)

thanks, Joachim.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Naggum  
View profile  
 More options Apr 6 2001, 3:55 am
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.net>
Date: 06 Apr 2001 07:55:09 +0000
Local: Fri, Apr 6 2001 3:55 am
Subject: Re: metering
* Joachim De Beule

> I post this message again because I did not yet get any answers yet,
> sorry for the overhead.

  This is the kind of thing that support agreements are for.  Even though I
  could answer, I don't want to, and you don't want to rely on my answer,
  either.  I suggest you mail b...@franz.com and ask for help.

#:Erik
--
  I found no peace in solitude.
  I found no chaos in catastrophe.
                        -- :wumpscut:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »