mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 10:35:11 +00:00
8 lines
133 B
Go
8 lines
133 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
func timing(name string, t0 time.Time) {
|
|
debugf("%s: %.02f ms", name, time.Since(t0).Seconds()*1000)
|
|
}
|