testing: pause the test timer while waiting in T.Parallel
testing: pause the test timer while waiting in T.Parallel

Before, we reset the timer at the end of T.Parallel, which is okay
assuming that T.Parallel is the first thing in the test.

Snapshot the elapsed time at the beginning of Parallel and include it in
the total duration so that any time spent in the test before calling
Parallel is reported in the test duration as well.

Updates #12243.

Change-Id: Ieca553e1f801e16b9b6416463fa8f7fa65425185
Reviewed-on: https://go-review.googlesource.com/16989
Reviewed-by: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

ImJasonH/go,linux-on-ibm-z/go,deft-code/go,odeke-em/go,odeke-em/go,miolini/go,CAFxX/go,sndnvaps/go,josharian/go,momchil-velikov/go,akutz/go,linux-on-ibm-z/go,cloudflare/go,Jordanzuo/go,theif519/go,cloudflare/go,mwhudson/go,nawawi/go,4ad/go,fjballest/golang,ganboing/go-esx,Jordanzuo/go,vanloswang/go,Endika/go,ImJasonH/go,ganboing/go-esx,Cofyc/go,Cofyc/go,kim-racktop/go,josharian/go,binarycrusader/go,suncycheng/go,vsekhar/elastic-go,goodlang/good,nawawi/go,suncycheng/go,roth1002/go,goodlang/good,kim-racktop/go,CAFxX/go,sndnvaps/go,ImJasonH/go,deft-code/go,akutz/go,Jordanzuo/go,theif519/go,deft-code/go,vsekhar/elastic-go,goodlang/good,nawawi/go,deft-code/go,kim-racktop/go,theif519/go,akutz/go,codestation/go,golang/go,polyverse-security/go,akutz/go,derekmarcotte/go,linux-on-ibm-z/go,odeke-em/go,mwhudson/go,golang/go,polyverse-security/go,cyberroadie/go,momchil-velikov/go,Endika/go,suncycheng/go,golang/go,vanloswang/go,nawawi/go,Cofyc/go,derekmarcotte/go,goodlang/good,josharian/go,theif519/go,cyberroadie/go,momchil-velikov/go,odeke-em/go,Cofyc/go,ganboing/go-esx,ImJasonH/go,kim-racktop/go,sndnvaps/go,akutz/go,CAFxX/go,Endika/go,mwhudson/go,4ad/go,miolini/go,4ad/go,cyberroadie/go,cloudflare/go,mwhudson/go,Jordanzuo/go,derekmarcotte/go,fjballest/golang,cyberroadie/go,vanloswang/go,roth1002/go,binarycrusader/go,cloudflare/go,4ad/go,derekmarcotte/go,Jordanzuo/go,odeke-em/go,CAFxX/go,binarycrusader/go,suncycheng/go,linux-on-ibm-z/go,fjballest/golang,josharian/go,mwhudson/go,polyverse-security/go,suncycheng/go,codestation/go,ganboing/go-esx,mwhudson/go,miolini/go,roth1002/go,fjballest/golang,cyberroadie/go,goodlang/good,suncycheng/go,Samurais/go,akutz/go,nawawi/go,vsekhar/elastic-go,vanloswang/go,Endika/go,derekmarcotte/go,ganboing/go-esx,Endika/go,odeke-em/go,binarycrusader/go,Cofyc/go,codestation/go,derekmarcotte/go,fjballest/golang,theif519/go,cyberroadie/go,miolini/go,roth1002/go,Samurais/go,cloudflare/go,sndnvaps/go,Samurais/go,akutz/go,cloudflare/go,binarycrusader/go,deft-code/go,kim-racktop/go,Jordanzuo/go,kim-racktop/go,deft-code/go,golang/go,polyverse-security/go,linux-on-ibm-z/go,codestation/go,CAFxX/go,binarycrusader/go,Cofyc/go,cyberroadie/go,momchil-velikov/go,fjballest/golang,codestation/go,miolini/go,nawawi/go,roth1002/go,sndnvaps/go,Jordanzuo/go,linux-on-ibm-z/go,cloudflare/go,deft-code/go,josharian/go,mwhudson/go,derekmarcotte/go,CAFxX/go,derekmarcotte/go,4ad/go,golang/go,linux-on-ibm-z/go,codestation/go,Cofyc/go,Cofyc/go,ImJasonH/go,theif519/go,momchil-velikov/go,vsekhar/elastic-go,4ad/go,vsekhar/elastic-go,odeke-em/go,golang/go,vanloswang/go,Samurais/go,kim-racktop/go,momchil-velikov/go,ImJasonH/go,christopher-henderson/Go,sndnvaps/go,josharian/go,CAFxX/go,polyverse-security/go,josharian/go,vsekhar/elastic-go,roth1002/go,4ad/go,miolini/go,sndnvaps/go,golang/go,ganboing/go-esx,ImJasonH/go,polyverse-security/go,theif519/go,goodlang/good,ImJasonH/go,miolini/go,Samurais/go,nawawi/go,ganboing/go-esx,fjballest/golang,goodlang/good,polyverse-security/go,Endika/go,Endika/go,suncycheng/go,polyverse-security/go,odeke-em/go,josharian/go,Jordanzuo/go,cyberroadie/go,codestation/go,vanloswang/go,vsekhar/elastic-go,4ad/go,roth1002/go,cloudflare/go,momchil-velikov/go,goodlang/good,Endika/go,roth1002/go,kim-racktop/go,momchil-velikov/go,deft-code/go,Samurais/go,vanloswang/go,binarycrusader/go,ganboing/go-esx,Samurais/go,sndnvaps/go,Samurais/go,mwhudson/go,vanloswang/go,miolini/go,fjballest/golang,CAFxX/go,vsekhar/elastic-go,linux-on-ibm-z/go,golang/go,theif519/go,nawawi/go,suncycheng/go,binarycrusader/go,codestation/go,akutz/go