[gambit-list] Is the number of allocated bytes reported by time accurate?
Bradley Lucier
lucier at math.purdue.edu
Thu Apr 24 15:58:56 EDT 2014
Marc:
I get
> (time (##bignum.make 2 #f #f))
(time (##bignum.make 2 #f #f))
0 ms real time
0 ms cpu time (0 user, 0 system)
no collections
48 bytes allocated
no minor faults
no major faults
4344
> (time (cons a b))
(time (cons a b))
0 ms real time
0 ms cpu time (0 user, 0 system)
no collections
48 bytes allocated
1 minor fault
no major faults
on a 64-bit machine; I would expect each of them to allocate 24 bytes
(two a-digits and a tag in the first one, two slots and a tag in the
second).
So, can you explain what's going on?
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20140424/eb0e9893/attachment.htm>
More information about the Gambit-list
mailing list