Sha256: d56ceee2b50d2cf2adffdc12ec4cbc2111799a09015aff994bdb8fdfb19727f7

Contents?: true

Size: 806 Bytes

Versions: 4

Compression:

Stored size: 806 Bytes

Contents

# perfmonger-plot-formatter

`perfmonger-plot-formatter` is a command to generate data files for plotting
various metrices recorded by `perfmonger-recorder`.

## Notes on memory usage records

### `free(1)` compatible summarization

- total: `MemStat.MemTotal`
- used: `if (memUsed < 0) { MemStat.MemTotal - MemStat.MemFree } else { memUsed }`
  - memUsed := `MemStat.MemTotal - MemStat.MemFree - mainCached - MemStat.Buffers`
  - mainCached := `MemStat.Cached + MemStat.SReclaimable`
- free: `MemStat.MemFree`
- shared: `MemStat.Shmem`
- buffers: `MemStat.Buffers`
- cache: `mainCached`
  - mainCached := `MemStat.Cached + MemStat.SReclaimable`
- available: `MemStat.MemAvailable`

### Additional info

- hugeTotal: `MemStat.HugePages_Total`
- hugeUsed: `MemStat.HugePages_Total - MemStat.HugePages_Free`

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
perfmonger-0.14.4 core/cmd/perfmonger-plot-formatter/README.md
perfmonger-0.14.2 core/cmd/perfmonger-plot-formatter/README.md
perfmonger-0.14.1 core/cmd/perfmonger-plot-formatter/README.md
perfmonger-0.14.0 core/cmd/perfmonger-plot-formatter/README.md