Interesting idea. Most Common Lisp implementations compile to native machine code, so it might not be too hard to instrument the generated code to do some kind of bookeeping. There are quite a few open source implementations out there, e.g. Steel Bank Common Lisp (www.sbcl.org) or Clozure Common Lisp (trac.clozure.com/ccl).
;; Gary On Mar 7, 2011, at 12:38 PM, Russ Abbott wrote: > I'm considering the development of an ABM in which the agents are charged for > the computations they do. But I can't think of a language that facilitates > that. I know that in most languages one can look at the real-time clock, but > I can't think of a language in which one can look at a dynamic count of > (virtual) instructions executed -- or even an dynamic measure of the amount > of CPU time devoted to executing the instructions of each agent. Am I missing > something obvious? Can anyone help. > > Thanks. > > -- Russ
============================================================ FRIAM Applied Complexity Group listserv Meets Fridays 9a-11:30 at cafe at St. John's College lectures, archives, unsubscribe, maps at http://www.friam.org
