Perfstats are not supported on Windows

This commit is contained in:
Jakob Borg 2014-08-13 22:31:56 +02:00
parent d977f4278e
commit 7555fe065e
2 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,8 @@ The following enviroment variables are interpreted by syncthing:
STHEAPPROFILE Write heap profiles to heap-$pid-$timestamp.pprof each time
heap usage increases.
STPERFSTATS Write running performance statistics to perf-$pid.csv.
STPERFSTATS Write running performance statistics to perf-$pid.csv. Not
supported on Windows.
STDEADLOCKTIMEOUT Alter deadlock detection timeout (seconds; default 1200).`
)

View File

@ -2,6 +2,8 @@
// All rights reserved. Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build !windows
package main
import (