Okay I managed to open to text:
Analysis of sampling pid 3981 every 10.000000 milliseconds
Call graph:
1000 Thread_0f27
1000 start
1000 _start
1000 main
1000 wxEntry(int&, wchar_t**)
1000 wxAppBase::MainLoop()
1000 wxEventLoopManual::Run()
1000 wxEventLoop::Dispatch()
1000 wxApp::MacDoOneEvent()
1000 wxApp::MacHandleOneEvent(void*)
1000 wxMacProcessNotifierAndPendingEvents
1000 wxAppConsole::ProcessPendingEvents()
1000 wxEvtHandler::ProcessPendingEvents()
1000 wxEvtHandler::ProcessEvent(wxEvent&)
1000 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
1000 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
1000 CamuleApp::OnCoreTimer(CTimerEvent&)
1000 CUploadQueue::Process()
746 UploadBandwidthThrottler::GetNumberOfSentBytesSinceLastCallAndReset()
746 wxMutexInternal::Lock()
746 MPEnterCriticalRegion
746 semaphore_wait_signal_trap
746 semaphore_wait_signal_trap
254 UploadBandwidthThrottler::GetNumberOfSentBytesOverheadSinceLastCallAndReset()
254 wxMutexInternal::Lock()
254 MPEnterCriticalRegion
254 semaphore_wait_signal_trap
254 semaphore_wait_signal_trap
1000 Thread_1003
1000 _pthread_body
1000 PrivateMPEntryPoint
1000 wxThreadInternal::MacThreadStart(void*)
1000 UploadBandwidthThrottler::Entry()
998 CClientTCPSocket::SendControlData(unsigned, unsigned)
994 CEMSocket::Send(unsigned, unsigned, bool)
881 CEncryptedStreamSocket::Write(void const*, unsigned)
881 CSocketClientProxy::Write(void const*, unsigned)
564 wxMutexInternal::Unlock()
554 MPYield
553 TSYield
552 swtch_pri
552 swtch_pri
1 sched_yield
1 sched_yield
1 sched_yield
1 sched_yield
8 MPExitCriticalRegion
4 RetrieveDataFromOpaqueID
2 pthread_mutex_unlock
2 pthread_mutex_unlock
1 RetrieveDataFromOpaqueID
1 TSLockMutex
1 __spin_lock
1 __spin_lock
2 TSLockMutex
2 pthread_mutex_lock
2 pthread_mutex_lock
2 pthread_mutex_unlock
2 pthread_mutex_unlock
2 TSYield
2 TSYield
309 wxSocketBase::Write(void const*, unsigned)
309 wxSocketBase::_Write(void const*, unsigned)
305 GSocket::Write(char const*, int)
173 GSocket::Send_Stream(char const*, int)
136 signal
136 syscall
136 syscall
33 sendto
33 sendto
2 GSocket::Send_Stream(char const*, int)
1 _sysenter_trap
1 _sysenter_trap
1 cerror
1 __error
1 __error
126 GSocket::Enable(GSocketEvent)
123 CFSocketEnableCallBacks
110 __CFSocketEnableCallBacks
108 sendto
108 sendto
1 __CFSocketEnableCallBacks
1 _sysenter_trap
1 _sysenter_trap
9 __spin_lock
9 __spin_lock
2 send
2 send
1 CFArrayGetCount
1 CFArrayGetCount
1 CFDataGetLength
1 CFDataGetLength
2 __spin_lock
2 __spin_lock
1 spin_lock
1 spin_lock
2 CFSocketEnableCallBacks
2 CFSocketEnableCallBacks
2 signal
2 signal
1 GSocket::Write(char const*, int)
1 send
1 send
2 wxSocketBase::_Write(void const*, unsigned)
1 __error
1 __error
1 __i686.get_pc_thunk.bx
1 __i686.get_pc_thunk.bx
3 CSocketClientProxy::Write(void const*, unsigned)
2 MPYield
2 MPYield
2 wxMutexInternal::Lock()
2 MPEnterCriticalRegion
1 RetrieveDataFromOpaqueID
1 pthread_mutex_unlock
1 pthread_mutex_unlock
1 TSLockMutex
1 pthread_mutex_lock
1 pthread_mutex_lock
1 wxSocketBase::_Write(void const*, unsigned)
1 wxSocketBase::_Write(void const*, unsigned)
68 UploadBandwidthThrottler::QueueForSendingControlPacket(ThrottledControlSocket*, bool)
58 wxMutexInternal::Unlock()
55 MPYield
55 TSYield
54 swtch_pri
54 swtch_pri
1 sched_yield
1 sched_yield
2 MPExitCriticalRegion
2 RetrieveDataFromOpaqueID
1 TSLockMutex
1 __spin_lock
1 __spin_lock
1 __spin_lock
1 __spin_lock
1 wxMutexInternal::Unlock()
9 wxMutexInternal::Lock()
8 MPEnterCriticalRegion
4 TSLockMutex
2 pthread_mutex_lock
2 pthread_mutex_lock
1 TSLockMutex
1 spin_lock
1 spin_lock
3 MPEnterCriticalRegion
1 RetrieveDataFromOpaqueID
1 RetrieveDataFromOpaqueID
1 TSSelf
1 TSSelf
1 MPEnterCriticalRegion
1 MPEnterCriticalRegion
37 wxMutexInternal::Unlock()
33 MPYield
33 TSYield
33 swtch_pri
33 swtch_pri
4 MPExitCriticalRegion
1 RetrieveDataFromOpaqueID
1 TSLockMutex
1 pthread_mutex_lock
1 pthread_mutex_lock
1 TSLockMutex
1 pthread_mutex_lock
1 pthread_mutex_lock
1 __i686.get_pc_thunk.bx
1 __i686.get_pc_thunk.bx
1 spin_lock
1 spin_lock
4 wxMutexInternal::Lock()
2 MPEnterCriticalRegion
1 RetrieveDataFromOpaqueID
1 TSLockMutex
1 pthread_mutex_lock
1 pthread_mutex_lock
1 pthread_mutex_unlock
1 pthread_mutex_unlock
1 TSSelf
1 TSSelf
1 __i686.get_pc_thunk.bx
1 __i686.get_pc_thunk.bx
3 CEMSocket::Send(unsigned, unsigned, bool)
1 GSocket::GetError()
1 GSocket::GetError()
1 CEMSocket::GetNextFragSize(unsigned, unsigned)
1 CEMSocket::GetNextFragSize(unsigned, unsigned)
1 GetTickCount()
1 GetTickCount()
1 UploadBandwidthThrottler::QueueForSendingControlPacket(ThrottledControlSocket*, bool)
1 UploadBandwidthThrottler::QueueForSendingControlPacket(ThrottledControlSocket*, bool)
1 __i686.get_pc_thunk.bx
1 __i686.get_pc_thunk.bx
2 UploadBandwidthThrottler::Entry()
1000 Thread_1103
1000 _pthread_body
777 select
777 select
177 __CFSocketManager
93 CFRunLoopWakeUp
92 __CFSendTrivialMachMessage
52 mach_msg_destroy
50 mach_port_deallocate
47 mach_msg_trap
47 mach_msg_trap
3 mach_port_deallocate
2 mach_msg_destroy
34 mach_msg_trap
34 mach_msg_trap
2 mach_msg
2 mach_msg
2 mach_port_deallocate
2 mach_port_deallocate
1 0xa0011ac8
1 0xa0011ac8
1 __CFSendTrivialMachMessage
1 mach_msg
1 mach_msg
31 recvfrom
31 recvfrom
28 __CFSocketManager
5 CFArrayAppendValue
4 _CFArrayReplaceValues
3 _CFArrayReplaceValues
1 CFAllocatorAllocate
1 CFAllocatorAllocate
1 __CFTypeCollectionRetain
1 __CFTypeCollectionRetain
5 CFArrayGetValueAtIndex
5 CFArrayGetValueAtIndex
5 CFArrayRemoveAllValues
4 __CFArrayReleaseValues
2 __i686.get_pc_thunk.bx
2 __i686.get_pc_thunk.bx
1 malloc_zone_free
1 malloc_zone_free
1 szone_free
1 szone_free
1 malloc_zone_free
1 malloc_zone_free
2 CFArrayGetCount
2 CFArrayGetCount
2 CFDataGetBytes
2 __memcpy
2 __memcpy
2 CFDataGetLength
2 CFDataGetLength
2 __CFSocketCopyRunLoopToWakeUp
1 CFArrayGetCount
1 CFArrayGetCount
1 __CFSocketCopyRunLoopToWakeUp
2 __spin_lock
2 __spin_lock
30 getsockopt
30 getsockopt
12 __spin_lock
12 __spin_lock
2 recv
2 recv
1 0xa0815050
1 0xa0815050
1 memset
1 memset
1000 Thread_1203
1000 _pthread_body
1000 PrivateMPEntryPoint
1000 wxThreadInternal::MacThreadStart(void*)
1000 CTimerThread::Entry()
1000 wxSemaphoreInternal::WaitTimeout(unsigned long)
1000 semaphore_timedwait_trap
1000 semaphore_timedwait_trap
1000 Thread_1303
1000 _pthread_body
1000 CMMConvTask(void*)
1000 pthreadSemaphoreWait(t_pthreadSemaphore*)
1000 semaphore_wait_signal_trap
1000 semaphore_wait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
8 TSLockMutex
7 __spin_lock
6 MPEnterCriticalRegion
6 RetrieveDataFromOpaqueID
6 pthread_mutex_lock
5 __i686.get_pc_thunk.bx
5 wxMutexInternal::Lock()
Sort by top of stack, same collapsed (when >= 5):
semaphore_wait_signal_trap 2000
semaphore_timedwait_trap 1000
select 777
swtch_pri 639
sendto 141
syscall 136
mach_msg_trap 81
recvfrom 31
getsockopt 30
__CFSocketManager 28
__spin_lock 28
pthread_mutex_lock 8
__i686.get_pc_thunk.bx 6
pthread_mutex_unlock 6
CFArrayGetValueAtIndex 5
mach_port_deallocate 5