Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

profiling qt app: pthread_spin_init calls

$
0
0
Hi, I’m using Qt 5.02 (MinGW) to make a little board game. In order to get it to run faster, I ran it through Very Sleepy, and according to the results these are the three most called functions: pthread_spin_init pthread_tls_init pthread_setspecific This is very surprising to me, because I don’t use any threads. The only thing I can think of, is my use of QVector and QSharedPointer that might do some locking/unlocking. I tried the same code on my Linux box (same hardware) and there I see that the results are significantly faster. Can anyone clue me in, why pthread function calls are being made? Thanks!

Viewing all articles
Browse latest Browse all 18427

Trending Articles