Em sexta-feira, 30 de dezembro de 2016, às 19:13:58 BRST, Igor Mironchik escreveu: > Hello, > > I do app that uses USB camera. And I found that this app uses very much > CPU time. Profiler says that: > > AMGetErrorTextW 8.82s 11.22s 38.74% 49.28% quartz > [unknown] 0 0x5ded687f > MsgWaitForMultipleObjectsEx 6.62s 6.62s 29.08% 29.09% > USER32 [unknown] 0 0x75578977 > > What can I do to optimize this?
Profile it. When you find out what function is taking so much CPU time, break it down into smaller parts until you identify the coding mistake. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest