All pastes #676130 Raw Edit

Miscellany

public text v1 · immutable
#676130 ·published 2007-08-30 20:06 UTC
rendered paste body
Analysis of sampling pid 636 every 10.000000 milliseconds
Call graph:
    286 Thread_0f07
      286 start
        286 _start
          286 main
            286 NSApplicationMain
              286 -[NSApplication run]
                286 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                  286 _DPSNextEvent
                    286 BlockUntilNextEventMatchingListInMode
                      286 ReceiveNextEventCommon
                        286 RunCurrentEventLoopInMode
                          286 CFRunLoopRunSpecific
                            286 __CFRunLoopRun
                              218 mach_msg
                                218 mach_msg_trap
                                  218 mach_msg_trap
                              67 __CFRunLoopDoObservers
                                67 _handleWindowNeedsDisplay
                                  67 -[NSWindow displayIfNeeded]
                                    67 -[NSView displayIfNeeded]
                                      67 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
                                        67 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                          67 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                            65 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                              65 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                62 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                  62 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                    60 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                      60 -[NSView _drawRect:clip:]
                                                        60 -[TorrentTableView drawRect:]
                                                          59 -[NSTableView drawRect:]
                                                            57 -[NSTableView drawRowIndexes:clipRect:]
                                                              57 -[NSTableView drawRow:clipRect:]
                                                                54 -[NSTableView _drawContentsAtRow:column:clipRect:]
                                                                  52 -[TorrentCell drawWithFrame:inView:]
                                                                    50 -[TorrentCell buildAdvancedBar:point:]
                                                                      34 -[NSImage compositeToPoint:operation:]
                                                                        34 -[NSImage compositeToPoint:fromRect:operation:]
                                                                          34 -[NSImage _composite:delta:fromRect:toPoint:]
                                                                            25 -[NSImage _cacheRepresentation:]
                                                                              25 -[NSImage _cacheRepresentation:stayFocused:]
                                                                                21 -[NSImage _focusOnCache:]
                                                                                  21 -[NSCachedImageRep _initWithSize:depth:separate:alpha:allowDeep:]
                                                                                    21 _NXAllocateImageCache
                                                                                      12 NewCacheWindowInfo
                                                                                        12 CreateCacheWindow
                                                                                          10 CreateWindowNamed
                                                                                            10 _NXCreateWindow
                                                                                              9 CGSNewWindow
                                                                                                9 CGSNewWindowWithOpaqueShape
                                                                                                  3 CGSUpdateDebugOptions
                                                                                                    3 _CGSGetDebugOptions
                                                                                                      3 mach_msg
                                                                                                        3 mach_msg_trap
                                                                                                          3 mach_msg_trap
                                                                                                  3 _CGSBindWindow
                                                                                                    3 _CGSGetWindowInfo
                                                                                                      3 mach_msg
                                                                                                        3 mach_msg_trap
                                                                                                          3 mach_msg_trap
                                                                                                  3 _CGSCreateWindow
                                                                                                    3 mach_msg
                                                                                                      3 mach_msg_trap
                                                                                                        3 mach_msg_trap
                                                                                              1 CGSSetDeferOrdering
                                                                                                1 CGSSetWindowTags
                                                                                                  1 _CGSSetWindowListTags
                                                                                                    1 mach_msg
                                                                                                      1 mach_msg_trap
                                                                                                        1 mach_msg_trap
                                                                                          2 -[NSWindow _initFromGlobalWindow:inRect:styleMask:]
                                                                                            2 -[NSWindow initWithContentRect:styleMask:backing:defer:]
                                                                                              2 -[NSWindow _initContent:styleMask:backing:defer:contentView:]
                                                                                                1 -[NSNotificationCenter addObserver:selector:name:object:]
                                                                                                  1 _CFXNotificationRegister
                                                                                                    1 _CFXNotificationRegister
                                                                                                1 -[NSWindow setContentView:]
                                                                                                  1 -[NSView addSubview:]
                                                                                                    1 -[NSView _setSuperview:]
                                                                                                      1 -[NSView _addSubview:]
                                                                                                        1 CFArrayAppendValue
                                                                                                          1 _CFArrayReplaceValues
                                                                                                            1 malloc_zone_malloc
                                                                                                              1 malloc_zone_malloc
                                                                                      9 NSRectFill
                                                                                        9 CGContextFillRect
                                                                                          9 CGContextFillRects
                                                                                            9 __CGContextDrawRects
                                                                                              9 ripc_DrawRects
                                                                                                9 ripc_Render
                                                                                                  9 ripl_BltShape
                                                                                                    7 ripd_Lock
                                                                                                      7 CGSDeviceLock
                                                                                                        7 _CGSLockWindow
                                                                                                          7 _CGSBindWindowBacking
                                                                                                            6 _CGSGetWindowBackingInfo
                                                                                                              6 mach_msg
                                                                                                                6 mach_msg_trap
                                                                                                                  6 mach_msg_trap
                                                                                                            1 CGSMapShmem
                                                                                                              1 _CGSMapShmem
                                                                                                                1 mach_msg
                                                                                                                  1 mach_msg_trap
                                                                                                                    1 mach_msg_trap
                                                                                                    2 ripd_Mark
                                                                                                      2 ARGB32_mark
                                                                                                        2 ARGB32_mark_constantshape
                                                                                                          2 CGBlt_fillBytes
                                                                                                            2 CGSFillDRAM8by1
                                                                                                              2 vecCGSFill8by1
                                                                                                                2 vecCGSFill8by1
                                                                                2 -[NSImage _drawRepresentation:]
                                                                                  2 -[NSImage drawRepresentation:inRect:]
                                                                                    1 -[NSImage _whenDrawn:fills:]
                                                                                      1 -[NSImage scalesWhenResized]
                                                                                        1 -[NSImage scalesWhenResized]
                                                                                    1 -[NSImageRep drawInRect:]
                                                                                      1 -[NSBitmapImageRep draw]
                                                                                        1 _CFRelease
                                                                                          1 imageFinalize
                                                                                            1 CGNotificationCenterPostNotification
                                                                                              1 CGNotificationCenterPostNotification
                                                                                2 -[NSImage unlockFocus]
                                                                                  2 -[NSWindow flushWindow]
                                                                                    2 ripc_Context
                                                                                      2 CGSDeviceSynchronize
                                                                                        2 _CGSFlushWindowRegion
                                                                                          2 _CGSLogTrace
                                                                                            2 _CGSLogTrace
                                                                            9 -[NSCachedImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
                                                                              9 -[NSImageRep drawInRect:]
                                                                                9 -[NSCachedImageRep draw]
                                                                                  6 _NXFreeImageCache
                                                                                    6 -[NSWindow dealloc]
                                                                                      6 -[NSWindow _termWindowIfOwner]
                                                                                        5 _NXTermWindow
                                                                                          5 CGSReleaseWindow
                                                                                            5 _CGSReleaseWindowList
                                                                                              4 _CGSTerminateWindowList
                                                                                                4 mach_msg
                                                                                                  4 mach_msg_trap
                                                                                                    4 mach_msg_trap
                                                                                              1 CGSUnmapShmemList
                                                                                                1 vm_deallocate
                                                                                                  1 mach_msg
                                                                                                    1 mach_msg_trap
                                                                                                      1 mach_msg_trap
                                                                                        1 -[NSWindow _setWindowNumber:]
                                                                                          1 -[NSCGSContext _invalidate]
                                                                                            1 _CFRelease
                                                                                              1 contextFinalize
                                                                                                1 _CFRelease
                                                                                                  1 szone_free
                                                                                                    1 szone_free
                                                                                  3 -[NSCGImageRep initWithFocusedViewRect:]
                                                                                    2 CGPixelAccessCreateImageFromRect
                                                                                      2 __CGPixelAccessCreateImageFromRect
                                                                                        2 __CGPixelAccessGetDataProvider
                                                                                          2 vm_copy
                                                                                            2 mach_msg
                                                                                              2 mach_msg_trap
                                                                                                2 mach_msg_trap
                                                                                    1 CGPixelAccessUnlock
                                                                                      1 __CGPixelAccessUnlockWindowAccess
                                                                                        1 __CGPixelAccessUnlockWindowAccess
                                                                      16 -[CTGradient fillRect:angle:]
                                                                        14 CGContextDrawShading
                                                                          14 drawAxialShading
                                                                            10 FunctionSamplesCreate
                                                                              7 CGFunctionEvaluate
                                                                                5 CGFunctionEvaluate
                                                                                2 linearEvaluation
                                                                                  2 linearEvaluation
                                                                              3 FunctionSamplesCreate
                                                                            4 CGContextDrawImage
                                                                              4 CGContextDelegateDrawImage
                                                                                4 ripc_DrawImage
                                                                                  3 ripc_RenderImage
                                                                                    3 ripl_BltImage
                                                                                      3 ripd_Mark
                                                                                        3 ARGB32_image
                                                                                          3 ARGB32_image_mark
                                                                                            3 ARGB32_image_mark
                                                                                  1 ripc_AcquireImage
                                                                                    1 CGSImageDataLockWithReference
                                                                                      1 img_data_lock
                                                                                        1 img_alphamerge_read
                                                                                          1 img_colormatch_read
                                                                                            1 img_decode_read
                                                                                              1 CGAccessSessionGetChunks
                                                                                                1 getBytesAxialShadingDataProvider
                                                                                                  1 getNextAxialShadingScanline
                                                                                                    1 getNextAxialShadingScanline
                                                                        1 -[CTGradient fillRect:angle:]
                                                                          1 -[CTGradient fillRect:angle:]
                                                                        1 _CFRelease
                                                                          1 shadingFinalize
                                                                            1 deallocAxialData
                                                                              1 FunctionSamplesRelease
                                                                                1 szone_free
                                                                                  1 vm_deallocate
                                                                                    1 mach_msg
                                                                                      1 mach_msg_trap
                                                                                        1 mach_msg_trap
                                                                    1 +[NSBezierPath strokeRect:]
                                                                      1 CGContextDrawPath
                                                                        1 ripc_DrawPath
                                                                          1 ripc_Render
                                                                            1 ripc_GetColor
                                                                              1 CGColorTransformConvertColorComponents
                                                                                1 resolveSource
                                                                                  1 isDisplayColorSpaceWithoutID
                                                                                    1 CGColorSpaceGetType
                                                                                      1 CGColorSpaceGetType
                                                                    1 -[NSString(NSStringDrawing) drawInRect:withAttributes:]
                                                                      1 _NSStringDrawingCore
                                                                        1 +[NSStringDrawingTextStorage _fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable:]
                                                                          1 CGContextShowGlyphsWithAdvances
                                                                            1 drawGlyphs
                                                                              1 CGContextDelegateDrawGlyphs
                                                                                1 ripc_DrawGlyphs
                                                                                  1 CGFontLockBitmaps
                                                                                    1 lock_bitmaps
                                                                                      1 lock_bitmaps
                                                                  1 -[Torrent infoForCurrentView]
                                                                    1 +[NSNumber numberWithFloat:]
                                                                      1 -[NSPlaceholderNumber initWithFloat:]
                                                                        1 CFNumberCreate
                                                                          1 _CFRuntimeCreateInstance
                                                                            1 CFAllocatorAllocate
                                                                              1 malloc_zone_malloc
                                                                                1 szone_malloc
                                                                                  1 szone_malloc
                                                                  1 _CFRelease
                                                                    1 __CFDictionaryDeallocate
                                                                      1 -[NSParagraphStyle release]
                                                                        1 -[NSParagraphStyle dealloc]
                                                                          1 _internal_object_dispose
                                                                            1 _objc_getFreedObjectClass
                                                                              1 _objc_getFreedObjectClass
                                                                3 NSPopAutoreleasePool
                                                                  2 -[NSView release]
                                                                    1 -[NSImageCacheView dealloc]
                                                                      1 -[NSView dealloc]
                                                                        1 -[NSView _finalize]
                                                                          1 -[NSView _finalize]
                                                                    1 -[NSView dealloc]
                                                                      1 -[NSResponder dealloc]
                                                                        1 _internal_object_dispose
                                                                          1 free
                                                                            1 szone_size
                                                                              1 szone_size
                                                                  1 objc_msgSend_rtp
                                                                    1 objc_msgSend_rtp
                                                            2 -[NSTableView drawBackgroundInClipRect:]
                                                              2 -[NSTableView _drawAlternatingRowBackgroundColors:inRect:]
                                                                2 NSRectFillList
                                                                  2 CGContextFillRects
                                                                    2 __CGContextDrawRects
                                                                      2 ripc_DrawRects
                                                                        2 ripc_Render
                                                                          2 ripl_BltShape
                                                                            2 ripd_Mark
                                                                              2 ARGB32_mark
                                                                                2 ARGB32_mark_constantshape
                                                                                  2 CGBlt_fillBytes
                                                                                    2 CGSFillDRAM8by1
                                                                                      2 vecCGSFill8by1
                                                                                        2 vecCGSFill8by1
                                                          1 -[TorrentTableView(Private) pauseRectForRow:]
                                                            1 -[NSTableView frameOfCellAtColumn:row:]
                                                              1 -[NSTableView rectOfRow:]
                                                                1 -[NSTableView _rectOfRowAssumingRowExists:]
                                                                  1 -[NSTableView _isCurrentlyGapStyleDropTarget]
                                                                    1 -[NSTableView _isCurrentlyGapStyleDropTarget]
                                                    2 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                      2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                        2 -[NSView _drawRect:clip:]
                                                          2 -[NSControl drawRect:]
                                                            2 -[NSTextFieldCell drawWithFrame:inView:]
                                                              2 -[NSTextFieldCell drawInteriorWithFrame:inView:]
                                                                2 _NXDrawTextCell
                                                                  2 _NSStringDrawingCore
                                                                    2 +[NSStringDrawingTextStorage _fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable:]
                                                                      2 CGContextShowGlyphsWithAdvances
                                                                        2 drawGlyphs
                                                                          2 CGContextDelegateDrawGlyphs
                                                                            2 ripc_DrawGlyphs
                                                                              2 CGGStateGetFillColor
                                                                                2 CGGStateGetFillColor
                                                3 -[NSView _drawRect:clip:]
                                                  2 NSRectFill
                                                    2 CGContextFillRect
                                                      2 CGContextFillRects
                                                        2 __CGContextDrawRects
                                                          2 ripc_DrawRects
                                                            2 ripc_GetRenderingState
                                                              2 ripc_GetClipState
                                                                2 ripl_release
                                                                  2 ripl_release
                                                  1 -[NSView _regionForOpaqueDescendants:forMove:]
                                                    1 -[NSView _regionForOpaqueDescendants:forMove:]
                                                      1 -[NSView _regionForOpaqueDescendants:forMove:]
                                                        1 -[NSView _regionForOpaqueDescendants:forMove:]
                                                          1 dyld_stub_CGSNewEmptyRegion
                                                            1 dyld_stub_CGSNewEmptyRegion
                                            2 -[NSView _drawRect:clip:]
                                              1 -[NSThemeFrame drawRect:]
                                                1 -[NSFrameView drawRect:]
                                                  1 -[NSFrameView drawThemeContentFill:inView:]
                                                    1 -[NSFrameView drawWindowBackgroundRect:]
                                                      1 NSDrawWindowBackground
                                                        1 NSRectFillUsingOperation
                                                          1 CGContextFillRect
                                                            1 CGContextFillRects
                                                              1 __CGContextDrawRects
                                                                1 ripc_DrawRects
                                                                  1 ripc_Render
                                                                    1 ripl_BltShape
                                                                      1 ripd_Lock
                                                                        1 CGSDeviceLock
                                                                          1 _CGSLockWindow
                                                                            1 _CGSSynchronizeWindowBackingStore
                                                                              1 mach_msg
                                                                                1 mach_msg_trap
                                                                                  1 mach_msg_trap
                                              1 doClip
                                                1 CGGStateClipToPath
                                                  1 CGClipCreateWithPath
                                                    1 CGPathIsRect
                                                      1 pathIsQuadrilateral
                                                        1 pathIsQuadrilateral
                              1 __CFRunLoopDoTimer
                                1 __NSFireTimer
                                  1 -[Controller updateUI]
                                    1 -[NSArray makeObjectsPerformSelector:withObject:]
                                      1 -[Torrent update]
                                        1 +[NSString(StringAdditions) stringForFileSize:]
                                          1 +[NSString stringWithFormat:]
                                            1 -[NSPlaceholderString initWithFormat:locale:arguments:]
                                              1 _CFStringCreateWithFormatAndArgumentsAux
                                                1 _CFStringAppendFormatAndArgumentsAux
                                                  1 snprintf_l
                                                    1 snprintf_l
    286 Thread_1003
      286 _pthread_body
        286 __ape_agent
          286 mach_msg
            286 mach_msg_trap
              286 mach_msg_trap
    286 Thread_1103
      286 _pthread_body
        286 ThreadFunc
          286 resolveFunc
            286 pthread_cond_wait
              286 semaphore_wait_signal_trap
                286 semaphore_wait_signal_trap
    286 Thread_1203
      286 _pthread_body
        286 ThreadFunc
          286 SharedLoop
            279 usleep
              279 nanosleep
                279 mach_wait_until
                  279 mach_wait_until
            6 pthread_mutex_lock
              6 pthread_mutex_lock
            1 tr_natpmpPulse
              1 tr_netRecvFrom
                1 cerror
                  1 cthread_set_errno_self
                    1 __error
                      1 __error
    286 Thread_1303
      286 _pthread_body
        286 CAPThread::Entry(CAPThread*)
          286 HALRunLoop::OwnThread(void*)
            286 CFRunLoopRunSpecific
              286 __CFRunLoopRun
                286 mach_msg
                  286 mach_msg_trap
                    286 mach_msg_trap
    286 Thread_1403
      286 _pthread_body
        286 _backgroundActivity
          286 accept
            286 accept
    286 Thread_1503
      286 _pthread_body
        286 forkThreadForFunction
          286 -[UKKQueue watcherThread:]
            286 kevent
              286 kevent
    286 Thread_1603
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1703
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1803
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1903
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1a03
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1b03
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1c03
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1d03
      286 _pthread_body
        286 ThreadFunc
          286 torrentThreadLoop
            286 usleep
              286 nanosleep
                286 mach_wait_until
                  286 mach_wait_until
    286 Thread_1e03
      286 0x49542fc
        286 thread_suspend
          286 mach_msg
            286 mach_msg_trap
              286 mach_msg_trap
    286 Thread_1f03
      286 _pthread_body
        286 forkThreadForFunction
          286 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            286 CFRunLoopRunSpecific
              286 __CFRunLoopRun
                286 mach_msg
                  286 mach_msg_trap
                    286 mach_msg_trap
    286 Thread_2003
      286 _pthread_body
        286 __CFSocketManager
          286 select
            286 select
    286 Thread_2103
      286 _pthread_body
        286 forkThreadForFunction
          286 +[NSURLCache _diskCacheSyncLoop:]
            286 CFRunLoopRunSpecific
              286 __CFRunLoopRun
                286 mach_msg
                  286 mach_msg_trap
                    286 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
        17       _pthread_body
        17       mach_msg
        17       mach_msg_trap
        10       ThreadFunc
        9       mach_wait_until
        9       nanosleep
        9       usleep
        8       torrentThreadLoop
        6       -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
        5       _CFRelease

Sort by top of stack, same collapsed (when >= 5):
        mach_wait_until        2567
        mach_msg_trap        1674
        accept        286
        kevent        286
        select        286
        semaphore_wait_signal_trap        286
        pthread_mutex_lock        6
        CGFunctionEvaluate        5
Sample analysis of process 636 written to file /dev/stdout
Sampling process 636 each 10 msecs 300 times