chore: Move private packages to internal (#1664)

This commit is contained in:
Jan-Otto Kröpke
2024-10-03 20:23:56 +02:00
committed by GitHub
parent bcfe6df24d
commit 5d95610c84
181 changed files with 1680 additions and 1867 deletions

10
internal/perflib/const.go Normal file
View File

@@ -0,0 +1,10 @@
package perflib
// Based on https://github.com/leoluk/perflib_exporter/blob/master/collector/mapper.go
const (
PERF_COUNTER_COUNTER = 0x10410400
PERF_100NSEC_TIMER = 0x20510500
PERF_PRECISION_100NS_TIMER = 0x20570500
PERF_ELAPSED_TIME = 0x30240500
)