mmap Compatibility Wrapper
-
class mmstats._mmap.MmapInfo
MmapInfo(fd, size, pointer)
-
fd
Alias for field number 0
-
pointer
Alias for field number 2
-
size
Alias for field number 1
-
mmstats._mmap.init_mmap(filename, size=4096)[source]
Create an mmap given a location filename and minimum size in bytes
Returns an MmapInfo tuple with the file descriptor, actual size, and a
pointer to the begging of the mmap.
Note that the size returned is rounded up to the nearest PAGESIZE.