Skip to content

ftyghome/pwprof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pwprof: Page Write Profiler

Profile page write access across time for Linux processes.

Demo

Features

  • Track memory page writes using Linux soft-dirty bits
  • Configurable sampling interval (default: 50ms)
  • Visual heatmap with GitHub-style grid

Usage

1. Build

cmake -B build && make -C build

2. Collect Data

./build/pwprof output.txt [interval_ms] <command> [args...]

Examples:

# Default 50ms sampling
./build/pwprof data.txt ./my_program arg1 arg2

# Custom 100ms sampling  
./build/pwprof data.txt 100 ./my_program arg1 arg2

3. Visualize

  1. Open visualization/index.html in a web browser
  2. Load the generated data file
  3. Click ▶ to watch memory access patterns

About

A profiler for page write events across time for Linux processes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors