mmap Compatibility Wrapper

mmstats._mmap.init_mmap(path='/tmp', filename='{CMD}-{PID}-{TID}.mmstats', size=4096)[source]

Given path, filename => filename, size, mmap

Parameters:
  • path – path to store mmaped files
  • filename – filename template for mmaped files
  • size – minimum size of the mmaped region (will be rounded up to the nearest multiple of PAGESIZE)

Substitutions documented in BaseMmStats

Project Versions

Previous topic

Internal Defaults

Next topic

Development

This Page