Add detailed scanner metrics (#15161)

This commit is contained in:
Klaus Post authored and GitHub committed 2022-07-05 14:45:49 -07:00
1 parent df42914da6
commit ac055b09e9
55 files changed
+1734 -1752

No files matched your search

+1
View File
@@ -153,5 +153,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er
func globalSync() {
// no-op not sure about plan9/solaris support for syscall support
defer globalOSMetrics.time(osMetricSync)
syscall.Sync()
}