Rewrite constants to be more obvious

This commit is contained in:
Marco Munizaga 2022-06-29 21:06:43 -07:00
parent 5abae10710
commit ac716c1bf3

View File

@ -70,15 +70,15 @@ var (
memDistribution = []float64{ memDistribution = []float64{
1 << 10, // 1KB 1 << 10, // 1KB
1 << 12, // 4KB 4 << 10, // 4KB
1 << 15, // 32KB 32 << 10, // 32KB
1 << 20, // 1MB 1 << 20, // 1MB
1 << 25, // 32MB 32 << 20, // 32MB
1 << 28, // 256MB 256 << 20, // 256MB
1 << 29, // 512MB 512 << 20, // 512MB
1 << 30, // 1GB 1 << 30, // 1GB
1 << 31, // 2GB 2 << 30, // 2GB
1 << 32, // 4GB 4 << 30, // 4GB
} }
PeerMemoryView = &view.View{ PeerMemoryView = &view.View{
Measure: peerMemory, Measure: peerMemory,