fork of https://github.com/sourcegraph/zoekt
1//go:build !linux
2
3package main
4
5import (
6 sglog "github.com/sourcegraph/log"
7)
8
9func mustRegisterMemoryMapMetrics(logger sglog.Logger) {
10 // The memory map metrics are collected via /proc, which
11 // is only available on linux-based operating systems.
12
13 // as far as I can tell, Windows does not have the same
14 // virtual memory statistics as Linux.
15 // For example, Windows does not have the concept of
16 // a count of memory maps, and a max number of memory maps
17 return
18}