vm no longer measures bogoclock or times, relies on os for that
authorAndy Wingo <wingo@pobox.com>
Fri, 11 Dec 2009 11:38:47 +0000 (12:38 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 11 Dec 2009 11:39:02 +0000 (12:39 +0100)
commit6c20a0b34b3c79c999213320eabf3d46eddd1c6e
tree3a862c425e186494fceab8196612cac526478dc2
parent349d5c442834ee467fd2dbf4caed778310f96932
vm no longer measures bogoclock or times, relies on os for that

* libguile/vm.h (struct scm_vm): Remove "time" and "clock" members. The
  time was bogusly measured, and the "clock" measured instructions
  retired, which is not a very useful measurement, and it was causing
  lots of memory accesses. Not that I have done a proper profile,
  though...
  (scm_vm_stats): Remove this procedure, which provided access to "time"
  and "clock".

* libguile/vm.c:
* libguile/vm-engine.h:
* libguile/vm-engine.c:
* libguile/vm-i-system.c: Adapt to scm_vm changes and scm_vm_stats
  removal.

* module/system/repl/command.scm:
* module/system/vm/vm.scm: Adapt to vm-stats removal by removing
  vm-stats from <repl>.
libguile/vm-engine.c
libguile/vm-engine.h
libguile/vm-i-system.c
libguile/vm.c
libguile/vm.h
module/system/repl/command.scm
module/system/repl/common.scm
module/system/vm/vm.scm