From 7eb5aee65cfa628705762e5000e834a5d7bc6506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=A5=E5=88=A9=E5=97=B7=E5=97=B7=E5=97=B7=E5=8F=AB?= Date: Mon, 27 Mar 2023 18:42:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=87=E6=A0=B7=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=AF=B9GPU=E5=92=8CFPS=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- perfd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perfd.go b/perfd.go index 6276dbd..5f18f59 100644 --- a/perfd.go +++ b/perfd.go @@ -750,7 +750,7 @@ func (c *perfdGraphicsOpengl) Start() (data <-chan []byte, err error) { if _, err = c.i.call( instrumentsServiceGraphicsOpengl, "setSamplingRate:", - float64(c.options.OutputInterval)/100, + c.options.OutputInterval/100, ); err != nil { return nil, err }