syncthing/util.go

8 lines
133 B
Go
Raw Permalink Normal View History

2013-12-15 10:43:31 +00:00
package main
import "time"
func timing(name string, t0 time.Time) {
debugf("%s: %.02f ms", name, time.Since(t0).Seconds()*1000)
}