Results 1 to 2 of 2

Thread: timing functions

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    1

    timing functions

    I'm new to using totalview and debuggers.

    threading my code with openmp shows almost twice of the slowdown comparing to single thread.

    is there a way with totalview to find which parts of the code take the longest?
    or some way to see the locks on the threads.

    --kirill

  2. #2

    Re: [kirill_igum] timing functions

    Hello Kiril,

    Tricky. We don't have any profiling in the current version of TotalView so you wouldn't be able to tell where the threads are spending most of their time. Certainly we will show which threads are active and which are sitting there waiting for something. This is not quite the lock info you were looking for (unless you are running on AIX. We have a Tools->Thread Objects that should only be active an AIX machines, and shows a bit more information about each thread) You can navigate back and forth between the threads to get a better idea of which each thread is doing at any particular time, and hold some if need be. The backtrace of each thread may also hold some idea of which might have a lock and which might be waiting for it.

    I hope that helps,
    Regards,
    Pete Thompson
    TotalView Customer Services

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •