shared-stopwatch - a simple package to provide shared timer functionality.
There are several implementations of a stopwatch in Go, but I haven't found any that supports sharing the stopwatch between many routines running in parallel.
This is intended for collecting total run time of a task executed (possibly) in parallel inside an application.
Install the package with:
go get github.com/maurosr/shared-stopwatch
Patches and improvements to this package are welcome.
BSD 2-Clause License
Feedback and patches welcome.
Mauro Schilman mauro.schilman@booking.com
godoc.org/github.com/maurosr/shared-stopwatch
This software was originally developed at Booking.com. With approval from Booking.com, this software was released as open source, for which the authors would like to express their gratitude.