unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
Cc: 6996-done@debbugs.gnu.org
Subject: bug#6996: `byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are they?
Date: Tue, 7 Sep 2010 19:29:06 -0400	[thread overview]
Message-ID: <19590.51906.678909.900661@fencepost.gnu.org> (raw)
In-Reply-To: <AANLkTikMKCYRLkY6m7w7zqx2WajLH_k8bJ6pqRBZoXiQ@mail.gmail.com>


MON KEY wrote (on Tue, 7 Sep 2010 at 17:33 -0400):

> `byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are they?
> 
> Following files:
>  src/bytecode.c
>  lisp/emacs-lisp/bytecomp.el
> 
> define the variables `byte-code-meter', `byte-metering-on' and a function
> `byte-compile-report-ops'.

From src/bytecode.c:

#ifdef BYTE_CODE_METER
  DEFVAR_LISP ("byte-code-meter", &Vbyte_code_meter,...
...
#endif

In the comments in the same file:

  define BYTE_CODE_METER to enable generation of a byte-op usage
  histogram.

So if you are interested, why not define it, re-build and see what
happens?

I have no idea what it does, but since it is not on by default since
1991, and is not documented anywhere, I don't see it as a bug if it
doesn't do whatever it is supposed to do. At the worst it is dead code
that could be deleted.





  reply	other threads:[~2010-09-07 23:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 21:33 bug#6996: `byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are they? MON KEY
2010-09-07 23:29 ` Glenn Morris [this message]
     [not found] ` <handler.6996.B.128389509415467.ack@debbugs.gnu.org>
2010-09-08  7:30   ` bug#6996: Acknowledgement (`byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are they?) MON KEY
2010-09-08  9:15     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19590.51906.678909.900661@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=6996-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).