Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Profiling qt app: pthread_spin_init calls
Forum Updated to NodeBB v4.3 + New Features

Profiling qt app: pthread_spin_init calls

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 681 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    t3685
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved