Ver Fonte

修改 LOG

jsonwang há 3 anos atrás
pai
commit
215344ca8a

+ 4 - 4
BFFramework/Classes/PQGPUImage/akfilters/PQMovieInput.swift

@@ -550,11 +550,11 @@ public class PQMovieInput: ImageSource {
             if runBenchmark {
                 let currentFrameTime = (CFAbsoluteTimeGetCurrent() - startTime)
                 totalFrameTimeDuringCapture += currentFrameTime
+                
+                
+                FilterLog(message: "currentTime is \(String(format: "%.6f", CMTimeGetSeconds(currentTime))) 当前帧渲染时间 : \(String(format: "%.6f",1000.0 * currentFrameTime)) ms Average frame time : \(String(format: "%.6f", 1000.0 * totalFrameTimeDuringCapture / Double(totalFramesSent))) ms  totalFrameTimeDuringCapture is \(String(format: "%.6f",totalFrameTimeDuringCapture))")
              
-                FilterLog(message:"currentTime is \(CMTimeGetSeconds(currentTime))")
-                FilterLog(message:"Average frame time : \(1000.0 * totalFrameTimeDuringCapture / Double(totalFramesSent)) ms")
-                FilterLog(message:"Current frame time : \(1000.0 * currentFrameTime) ms")
-                FilterLog(message:"totalFrameTimeDuringCapture is \(totalFrameTimeDuringCapture)")
+            
 
             }