jsonwang 3 лет назад
Родитель
Сommit
215344ca8a
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      BFFramework/Classes/PQGPUImage/akfilters/PQMovieInput.swift

+ 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)")
+            
 
             }