diff options
author | Andy Wingo <wingo@pobox.com> | 2009-12-11 12:38:47 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-12-11 12:39:02 +0100 |
commit | 6c20a0b34b3c79c999213320eabf3d46eddd1c6e (patch) | |
tree | 3a862c425e186494fceab8196612cac526478dc2 /module/system/vm/vm.scm | |
parent | 349d5c442834ee467fd2dbf4caed778310f96932 (diff) | |
download | guile-6c20a0b34b3c79c999213320eabf3d46eddd1c6e.tar.gz |
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>.
Diffstat (limited to 'module/system/vm/vm.scm')
-rw-r--r-- | module/system/vm/vm.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/system/vm/vm.scm b/module/system/vm/vm.scm index 688170363..9d8f97790 100644 --- a/module/system/vm/vm.scm +++ b/module/system/vm/vm.scm @@ -24,7 +24,7 @@ #:export (vm? the-vm make-vm vm-version vm:ip vm:sp vm:fp vm:last-ip - vm-load vm-option set-vm-option! vm-version vm-stats + vm-load vm-option set-vm-option! vm-version vms:time vms:clock vm-trace-frame |