Skip to content

Instantly share code, notes, and snippets.

@bklooster
Created June 23, 2015 05:24
Show Gist options
  • Save bklooster/5ea0f761e5faeda59a53 to your computer and use it in GitHub Desktop.
Save bklooster/5ea0f761e5faeda59a53 to your computer and use it in GitHub Desktop.
Dota2 Reborn Mac CPU Profiler
Running Time Self (ms) Symbol Name
110247.0ms 92.2% 0.0 thread_start
110247.0ms 92.2% 0.0 _pthread_start
110247.0ms 92.2% 0.0 _pthread_body
96181.0ms 80.5% 0.0 CThread::ThreadProc(void*)
95571.0ms 80.0% 908.0 CJobThread::Run()
45355.0ms 37.9% 547.0 CThreadSyncObject::Wait(unsigned int)
42534.0ms 35.6% 658.0 CThreadSemaphore::WaitImpl(unsigned int)
17084.0ms 14.3% 938.0 _pthread_mutex_lock
16146.0ms 13.5% 16146.0 __psynch_mutexwait
14362.0ms 12.0% 264.0 pthread_mutex_unlock
13501.0ms 11.3% 13501.0 __psynch_mutexdrop
298.0ms 0.2% 298.0 __mtx_droplock
275.0ms 0.2% 275.0 OSAtomicCompareAndSwapPtrBarrier$VARIANT$mp
18.0ms 0.0% 18.0 DYLD-STUB$$OSAtomicCompareAndSwap64Barrier
6.0ms 0.0% 6.0 DYLD-STUB$$OSAtomicCompareAndSwap64
8879.0ms 7.4% 570.0 _pthread_cond_wait
622.0ms 0.5% 143.0 ftime
341.0ms 0.2% 341.0 OSAtomicCompareAndSwapPtrBarrier$VARIANT$mp
286.0ms 0.2% 286.0 __gettimeofday
122.0ms 0.1% 0.0 <Unknown Address>
58.0ms 0.0% 58.0 __psynch_mutexwait
41.0ms 0.0% 41.0 __psynch_mutexdrop
26.0ms 0.0% 26.0 DYLD-STUB$$OSAtomicCompareAndSwap64Barrier
19.0ms 0.0% 19.0 DYLD-STUB$$__gettimeofday
15.0ms 0.0% 15.0 DYLD-STUB$$gettimeofday
8.0ms 0.0% 8.0 DYLD-STUB$$__psynch_mutexdrop
7.0ms 0.0% 7.0 __error
6.0ms 0.0% 6.0 DYLD-STUB$$__psynch_mutexwait
1442.0ms 1.2% 181.0 CThreadSyncObject::WaitImpl(unsigned int)
189.0ms 0.1% 0.0 <Unknown Address>
189.0ms 0.1% 189.0 pthread_cond_timedwait
158.0ms 0.1% 158.0 pthread_mutex_lock
134.0ms 0.1% 134.0 __error
65.0ms 0.0% 65.0 DYLD-STUB$$__error
36.0ms 0.0% 36.0 DYLD-STUB$$pthread_mutex_unlock
30.0ms 0.0% 30.0 DYLD-STUB$$pthread_mutex_lock
19.0ms 0.0% 19.0 DYLD-STUB$$pthread_cond_timedwait
12.0ms 0.0% 12.0 DYLD-STUB$$ftime
43950.0ms 36.7% 441.0 sched_yield
43509.0ms 36.4% 43509.0 swtch_pri
3230.0ms 2.7% 6.0 CSceneSystem::Thread_RenderPartition(CSceneView*, int, int, unsigned long long, unsigned long long)
691.0ms 0.5% 0.0 CParallelProcessorAbstract<CParallelProcessor<CParticleMgr::ParticleSimListItem_t, CFuncJobItemProcessor<CParticleMgr::ParticleSimListItem_t>, 1> >::ProcessingThread(int)
434.0ms 0.3% 9.0 Thread_ProcessProceduralLayer(CSceneView*, CSceneLayer*)
206.0ms 0.1% 1.0 CParallelProcessorAbstract<CParallelProcessor<LatchWork_t, CFuncJobItemProcessor<LatchWork_t>, 1> >::ProcessingThread(int)
186.0ms 0.1% 15.0 CParallelProcessorAbstract<CFunctorParallelController<CNetworkGameServer::PackEntities_Normal(CUtlVector<Entity2Networkable_t const*, CUtlMemory<Entity2Networkable_t const*, int> >&, int, CServerSideClient**, CBitVec<16384>&, CFrameSnapshot*)::$_0> >::ProcessingThread(int)
185.0ms 0.1% 0.0 CParallelProcessorAbstract<CParallelProcessor<int, CMemberFuncJobItemProcessor<int, CCallQueueT<CTSQueue<CFunctor*, false> >, CCallQueueT<CTSQueue<CFunctor*, false> > >, 1> >::ProcessingThread(int)
114.0ms 0.0% 5.0 CSceneSystem::Thread_RenderOccludersAndQueueRenderPartitions(CSceneView*)
67.0ms 0.0% 67.0 ThreadYield
54.0ms 0.0% 0.0 <Unknown Address>
52.0ms 0.0% 52.0 swtch_pri
42.0ms 0.0% 1.0 CRefCounted1<IRefCounted, CRefCountServiceBase<true, CRefMT> >::Release()
26.0ms 0.0% 5.0 CThreadEvent::Set()
21.0ms 0.0% 3.0 pthread_mutex_unlock
17.0ms 0.0% 17.0 CTSQueue<CJob*, false>::PopItem(CJob**)
10.0ms 0.0% 10.0 DYLD-STUB$$swtch_pri
4.0ms 0.0% 4.0 CFunctorJob::DoExecute()
4.0ms 0.0% 0.0 CThreadMutex::TryLock()
3.0ms 0.0% 3.0 CFunctor2<void (*)(CSceneView*, CSceneLayer*), CSceneView*, CSceneLayer*, CRefCounted1<CFunctor, CRefCountServiceBase<true, CRefMT> > >::operator()()
2.0ms 0.0% 2.0 pthread_setspecific
2.0ms 0.0% 2.0 pthread_mutex_lock
2.0ms 0.0% 0.0 CFileAsyncReadJob::DoExecute()
1.0ms 0.0% 1.0 CMemberFunctor1<CParallelProcessorAbstract<CParallelProcessor<LatchWork_t, CFuncJobItemProcessor<LatchWork_t>, 1> >*, void (CParallelProcessorAbstract<CParallelProcessor<LatchWork_t, CFuncJobItemProcessor<LatchWork_t>, 1> >::*)(int), int, CRefCounted1<CFunctor, CRefCountServiceBase<true, CRefMT> >, CFuncMemPolicyNone>::operator()()
1.0ms 0.0% 1.0 DYLD-STUB$$pthread_mutex_trylock
1.0ms 0.0% 0.0 CParallelProcessorAbstract<CParallelProcessor<IWrappedInterpolatedVar::WorkItem_t, CFuncJobItemProcessor<IWrappedInterpolatedVar::WorkItem_t>, 1> >::ProcessingThread(int)
1.0ms 0.0% 1.0 DYLD-STUB$$pthread_mutex_lock
1.0ms 0.0% 1.0 DYLD-STUB$$GenericThreadLocals::CThreadLocalBase::Set(void*)
1.0ms 0.0% 1.0 CMemberFunctor1<CParallelProcessorAbstract<CFunctorParallelController<CNetworkGameServer::PackEntities_Normal(CUtlVector<Entity2Networkable_t const*, CUtlMemory<Entity2Networkable_t const*, int> >&, int, CServerSideClient**, CBitVec<16384>&, CFrameSnapshot*)::$_0> >*, void (CParallelProcessorAbstract<CFunctorParallelController<CNetworkGameServer::PackEntities_Normal(CUtlVector<Entity2Networkable_t const*, CUtlMemory<Entity2Networkable_t const*, int> >&, int, CServerSideClient**, CBitVec<16384>&, CFrameSnapshot*)::$_0> >::*)(int), int, CRefCounted1<CFunctor, CRefCountServiceBase<true, CRefMT> >, CFuncMemPolicyNone>::operator()()
391.0ms 0.3% 3.0 CVConCommThread_PC::Run()
112.0ms 0.0% 0.0 <Unknown Address>
40.0ms 0.0% 40.0 pthread_yield_np
31.0ms 0.0% 31.0 DYLD-STUB$$ThreadYield
15.0ms 0.0% 15.0 DYLD-STUB$$CThreadSyncObject::Wait(unsigned int)
10.0ms 0.0% 10.0 DYLD-STUB$$pthread_yield_np
4.0ms 0.0% 0.0 CQueuedPacketSender::Run()
3.0ms 0.0% 3.0 ThreadYield
3.0ms 0.0% 3.0 pthread_setspecific
1.0ms 0.0% 0.0 panorama::CImageDecodeThread::Run()
13828.0ms 11.5% 0.0 ThreadProcConvert(void*)
119.0ms 0.0% 0.0 HALB_IOThread::Entry(void*)
108.0ms 0.0% 0.0 SteamThreadTools::CThread::ThreadProc(void*)
11.0ms 0.0% 0.0 RunThread
7673.0ms 6.4% 0.0 start
7673.0ms 6.4% 0.0 main
7673.0ms 6.4% 0.0 Source2Main
7673.0ms 6.4% 0.0 Source2MainInternal(void*, void*, char const*, int, char const*, char const*)
7672.0ms 6.4% 1.0 MainLoop(SwapChainHandle_t__*, PlatWindow_t__*, InputContextHandle_t__*)
7671.0ms 6.4% 0.0 CEngineServiceMgr::MainLoop(double, double)
7670.0ms 6.4% 2.0 CEngineServiceMgr::_MainLoop(double, double)
7516.0ms 6.2% 4.0 CLoopTypeClientServer::Update(EngineLoopState_t const&, double, double)
147.0ms 0.1% 0.0 CInputSystem::SleepUntilInput(int)
5.0ms 0.0% 0.0 <Unknown Address>
1.0ms 0.0% 0.0 <Unknown Address>
1.0ms 0.0% 0.0 <Unknown Address>
341.0ms 0.2% 0.0 0xab884b37ffffffff
199.0ms 0.1% 0.0 0xc869207ffffffff
179.0ms 0.1% 0.0 0xab6ac937ffffffff
172.0ms 0.1% 0.0 0xb98d3b37ffffffff
118.0ms 0.0% 0.0 0xab64d427ffffffff
111.0ms 0.0% 0.0 0xab880e27ffffffff
108.0ms 0.0% 0.0 0xb9881a27ffffffff
104.0ms 0.0% 0.0 0xab881427ffffffff
31.0ms 0.0% 0.0 0xab012627ffffffff
31.0ms 0.0% 0.0 0xac008427ffffffff
29.0ms 0.0% 0.0 0xac000a27ffffffff
29.0ms 0.0% 0.0 0xab84fe27ffffffff
25.0ms 0.0% 0.0 0xac004c27ffffffff
23.0ms 0.0% 0.0 0xab850e27ffffffff
12.0ms 0.0% 0.0 0xab851427ffffffff
6.0ms 0.0% 4.0 __commpage_gettimeofday
5.0ms 0.0% 0.0 0xb5f03d9f
5.0ms 0.0% 0.0 0xb3d3dd9f
4.0ms 0.0% 0.0 0xb7310d9f
3.0ms 0.0% 3.0 propagatemark
3.0ms 0.0% 0.0 0xb2b2ed9f
2.0ms 0.0% 2.0 gc_sweep
1.0ms 0.0% 0.0 0xcb888b80cb18957
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment