mimalloc/src/prim/windows
2023-04-24 08:56:42 -07:00
..
etw-mimalloc.wprp rename 2023-03-16 20:10:46 -07:00
etw.h integrate ETW windows event tracing into mimalloc as another track tool 2023-03-16 20:08:43 -07:00
etw.man integrate ETW windows event tracing into mimalloc as another track tool 2023-03-16 20:08:43 -07:00
prim.c use most performant reset on Linux (MADV_FREE) and Windows (MEM_RESET) as we use the precise decommit by default for purging anyways 2023-04-24 08:56:42 -07:00
readme.md rename 2023-03-16 20:10:46 -07:00

Primitives:

  • prim.c contains Windows primitives for OS allocation.

Event Tracing for Windows (ETW)

  • etw.h is generated from etw.man which contains the manifest for mimalloc events. (100 is an allocation, 101 is for a free)

  • etw-mimalloc.wprp is a profile for the Windows Performance Recorder (WPR). In an admin prompt, you can use:

    > wpr -start src\prim\windows\etw-mimalloc.wprp -filemode
    > <my mimalloc program>
    > wpr -stop test.etl
    

    and then open test.etl in the Windows Performance Analyzer (WPA).