diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-09-16 15:47:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-09-16 15:47:21 +0000 |
commit | adb0401dac41c81571722312d4586b2693f95aa6 (patch) | |
tree | ea2b52e3c258d6b6d9356977c683c7f72a4a5fd5 /libgo/go/big/calibrate_test.go | |
parent | 5548ca3540bccbc908a45942896d635ea5f1c23f (diff) | |
download | gcc-adb0401dac41c81571722312d4586b2693f95aa6.tar.gz |
Update Go library to r60.
From-SVN: r178910
Diffstat (limited to 'libgo/go/big/calibrate_test.go')
-rw-r--r-- | libgo/go/big/calibrate_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libgo/go/big/calibrate_test.go b/libgo/go/big/calibrate_test.go index c6cd2e693b7..1cd93b1052b 100644 --- a/libgo/go/big/calibrate_test.go +++ b/libgo/go/big/calibrate_test.go @@ -19,10 +19,8 @@ import ( "time" ) - var calibrate = flag.Bool("calibrate", false, "run calibration test") - // measure returns the time to run f func measure(f func()) int64 { const N = 100 @@ -34,7 +32,6 @@ func measure(f func()) int64 { return (stop - start) / N } - func computeThresholds() { fmt.Printf("Multiplication times for varying Karatsuba thresholds\n") fmt.Printf("(run repeatedly for good results)\n") @@ -84,7 +81,6 @@ func computeThresholds() { } } - func TestCalibrate(t *testing.T) { if *calibrate { computeThresholds() |