Section navigation

Public classStatic FileSystemDiagnostics

Namespace
Rowles.LeanCorpus.Diagnostics
Assembly
Rowles.LeanCorpus.dll

Process-wide counters for low-level filesystem operations.

public static class FileSystemDiagnostics
Inheritance
FileSystemDiagnostics

Public method BeginDetailedMeasurement()

Enables detailed dirty-tracker, atomic-writer, input, mapping, and lifetime-lease counters until the returned scope is disposed. The counters are disabled by default to keep hot indexing and search paths free of extra global atomics.

Public method GetSnapshot()

Returns a point-in-time snapshot of filesystem counters.