[Openmcl-devel] Bug in the time function
Luc Bélanger
lucbelanger at gmail.com
Mon Aug 8 22:54:13 PDT 2005
I think there is a minor bug with the time function, I use the
version (Beta: DarwinPPC32) 0.14.4-pre-050807a!
This is what I send to the REPL loop,
;;;;
? (time (process-phrase phrase-example-01))
(PROCESS-PHRASE PHRASE-EXAMPLE-01) took 390 milliseconds (0.390
seconds) to run.
Of that, 64 milliseconds (0.64 seconds) were spent in user mode
15 milliseconds (0.15 seconds) were spent in system mode
311 milliseconds (0.311 seconds) were spent executing other
OS processes.
29 milliseconds (0.29 seconds) was spent in GC.
46,696 bytes of memory allocated.
;;;
64 milliseconds is not 0.64 seconds but 0.064 seconds :-)
and if I add the time it gives 64+15+311 = 390 ms but 0.64 + 0.15 +
0.311 = 1.101 seconds
I think it should be easy to solve.
--
Luc Bélanger <lucbelanger at gmail.com>
More information about the Openmcl-devel
mailing list