⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 out

📁 模仿wiondws写的linux/freeBSD系统的IOCP
💻
📖 第 1 页 / 共 5 页
字号:
  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::_List_impl::_List_impl(std::allocator<std::_List_node<int> > const&)  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::_List_impl::~_List_impl()  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::_M_init()  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::_M_clear()  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::_List_base(std::allocator<int> const&)  0.00     26.47     0.00        1     0.00     0.00  std::_List_base<int, std::allocator<int> >::~_List_base()  0.00     26.47     0.00        1     0.00     0.00  std::list<Thread*, std::allocator<Thread*> >::begin()  0.00     26.47     0.00        1     0.00     0.01  std::list<Thread*, std::allocator<Thread*> >::clear()  0.00     26.47     0.00        1     0.00     0.01  std::list<Thread*, std::allocator<Thread*> >::list(std::allocator<Thread*> const&)  0.00     26.47     0.00        1     0.00     0.00  std::list<Thread*, std::allocator<Thread*> >::~list()  0.00     26.47     0.00        1     0.00     0.00  std::list<l_node<fdop>*, std::allocator<l_node<fdop>*> >::front()  0.00     26.47     0.00        1     0.00     0.00  std::list<l_node<fdop>*, std::allocator<l_node<fdop>*> >::_M_erase(std::_List_iterator<l_node<fdop>*>)  0.00     26.47     0.00        1     0.00     0.00  std::list<l_node<fdop>*, std::allocator<l_node<fdop>*> >::pop_front()  0.00     26.47     0.00        1     0.00     0.00  std::list<int, std::allocator<int> >::list(std::allocator<int> const&)			Call graphgranularity: each sample hit covers 2 byte(s) for 0.04% of 26.47 secondsindex % time    self  children    called     name                                                 <spontaneous>[1]     99.3    0.00   26.28                 Thread::threadFun(void*) [1]                1.41   22.13       4/4           completeWorker::run() [2]                0.54    1.48       2/2           IOworker::run() [8]                0.00    0.59       1/1           triggerWorker::run() [20]                0.00    0.13       1/1           listener::run() [36]-----------------------------------------------                1.41   22.13       4/4           Thread::threadFun(void*) [1][2]     88.9    1.41   22.13       4         completeWorker::run() [2]                1.89   12.10 20752047/20752047     ksocket::unpack() [3]                0.07    5.50 2073967/2073967     ksocket::put(char const*, unsigned int) [5]                0.36    1.11 2085500/2085614     ksocket::recv(unsigned int) [9]                0.14    0.75 2078472/2078472     WaitForComplete(int, IO_CONTEXT*&) [14]                0.03    0.14 2069913/2069913     ksocket::setCanRecv() [32]                0.05    0.00     124/124         ksocket::~ksocket() [47]                0.00    0.01     124/124         DetachIocp(int, int) [90]-----------------------------------------------                1.89   12.10 20752047/20752047     completeWorker::run() [2][3]     52.8    1.89   12.10 20752047         ksocket::unpack() [3]                6.34    0.00 18718385/18718385     cirbuf<40960u>::get(char*, unsigned int) [4]                3.84    0.00 20608601/20608601     cirbuf<40960u>::fetch(char*, unsigned int) [7]                0.43    0.27 20787359/35044055     Scope_lock::~Scope_lock() [10]                0.44    0.22 20844417/35156941     Scope_lock::Scope_lock(Lock&) [11]                0.54    0.00 41351776/41351776     cirbuf<40960u>::getrsize() const [22]-----------------------------------------------                6.34    0.00 18718385/18718385     ksocket::unpack() [3][4]     24.0    6.34    0.00 18718385         cirbuf<40960u>::get(char*, unsigned int) [4]-----------------------------------------------                0.07    5.50 2073967/2073967     completeWorker::run() [2][5]     21.0    0.07    5.50 2073967         ksocket::put(char const*, unsigned int) [5]                5.36    0.00 2076300/2076300     cirbuf<40960u>::put(char const*, unsigned int) [6]                0.04    0.03 2084453/35044055     Scope_lock::~Scope_lock() [10]                0.04    0.02 2078598/35156941     Scope_lock::Scope_lock(Lock&) [11]-----------------------------------------------                5.36    0.00 2076300/2076300     ksocket::put(char const*, unsigned int) [5][6]     20.2    5.36    0.00 2076300         cirbuf<40960u>::put(char const*, unsigned int) [6]-----------------------------------------------                3.84    0.00 20608601/20608601     ksocket::unpack() [3][7]     14.5    3.84    0.00 20608601         cirbuf<40960u>::fetch(char*, unsigned int) [7]-----------------------------------------------                0.54    1.48       2/2           Thread::threadFun(void*) [1][8]      7.6    0.54    1.48       2         IOworker::run() [8]                0.08    0.45 2021122/2021122     cond_queue<mlist<IO_CONTEXT*> >::pop_timeout(IO_CONTEXT*&, timespec*) [23]                0.28    0.23 2020927/2020927     IOHandler::recvIO(cond_queue<mlist<IO_CONTEXT*> >*, unactive_mgr*, IO_CONTEXT*) [25]                0.04    0.40 1847230/4118577     cond_queue<mlist<IO_CONTEXT*> >::push(IO_CONTEXT*) [12]                0.00    0.00     123/123         IOHandler::setTerminate() [227]-----------------------------------------------                0.00    0.00     114/2085614     listener::run() [36]                0.36    1.11 2085500/2085614     completeWorker::run() [2][9]      5.6    0.36    1.11 2085614         ksocket::recv(unsigned int) [9]                0.07    0.87 2078618/2078618     Recv(int, IO_CONTEXT*) [13]                0.04    0.03 2060268/35044055     Scope_lock::~Scope_lock() [10]                0.04    0.02 2088419/35156941     Scope_lock::Scope_lock(Lock&) [11]                0.04    0.00 2082362/2082362     cirbuf<40960u>::getwsize() const [49]-----------------------------------------------                0.00    0.00       1/35044055     unactive_mgr::unactive_mgr(int) [97]                0.00    0.00      14/35044055     cond_queue<mlist<IO_CONTEXT*> >::push_self(IO_CONTEXT*) [129]                0.00    0.00     119/35044055     unactive_mgr::getIndex() [43]                0.00    0.00     120/35044055     lockable_queue<MemPool<IOHandler, 1024> >::pop(IOHandler*&) [119]                0.00    0.00     124/35044055     lockable_queue<MemPool<IOHandler, 1024> >::push(IOHandler*) [117]                0.00    0.00  180040/35044055     IOHandler::clearReadable(cond_queue<mlist<IO_CONTEXT*> >*, long, unactive_mgr*, IO_CONTEXT*) [39]                0.00    0.00  180363/35044055     lockable_queue<std::list<IO_CONTEXT*, std::allocator<IO_CONTEXT*> > >::push(IO_CONTEXT*) [48]                0.00    0.00  187528/35044055     lockable_queue<std::list<IO_CONTEXT*, std::allocator<IO_CONTEXT*> > >::pop(IO_CONTEXT*&) [30]                0.01    0.01  679848/35044055     IOHandler::setReadable(unactive_mgr*, IOCP*) [26]                0.01    0.01  689194/35044055     IOHandler::setWriteable(unactive_mgr*, IOCP*) [46]                0.04    0.03 2008225/35044055     IOHandler::readRc() [33]                0.04    0.03 2031954/35044055     cond_queue<mlist<IO_CONTEXT*> >::pop_timeout(IO_CONTEXT*&, timespec*) [23]                0.04    0.03 2060268/35044055     ksocket::recv(unsigned int) [9]                0.04    0.03 2071515/35044055     ksocket::setCanRecv() [32]                0.04    0.03 2082930/35044055     cond_queue<mlist<IO_CONTEXT*> >::pop(IO_CONTEXT*&) [21]                0.04    0.03 2084453/35044055     ksocket::put(char const*, unsigned int) [5]                0.43    0.27 20787359/35044055     ksocket::unpack() [3][10]     4.5    0.73    0.46 35044055         Scope_lock::~Scope_lock() [10]                0.46    0.00 35148759/39566635     Lock::unlock() [24]-----------------------------------------------                0.00    0.00       1/35156941     unactive_mgr::unactive_mgr(int) [97]                0.00    0.00      13/35156941     cond_queue<mlist<IO_CONTEXT*> >::push_self(IO_CONTEXT*) [129]                0.00    0.00     114/35156941     lockable_queue<MemPool<IOHandler, 1024> >::pop(IOHandler*&) [119]                0.00    0.00     120/35156941     unactive_mgr::getIndex() [43]                0.00    0.00     124/35156941     lockable_queue<MemPool<IOHandler, 1024> >::push(IOHandler*) [117]                0.00    0.00  180120/35156941     lockable_queue<std::list<IO_CONTEXT*, std::allocator<IO_CONTEXT*> > >::push(IO_CONTEXT*) [48]                0.00    0.00  182479/35156941     IOHandler::clearReadable(cond_queue<mlist<IO_CONTEXT*> >*, long, unactive_mgr*, IO_CONTEXT*) [39]                0.00    0.00  186312/35156941     lockable_queue<std::list<IO_CONTEXT*, std::allocator<IO_CONTEXT*> > >::pop(IO_CONTEXT*&) [30]                0.01    0.01  681440/35156941     IOHandler::setReadable(unactive_mgr*, IOCP*) [26]                0.01    0.01  690209/35156941     IOHandler::setWriteable(unactive_mgr*, IOCP*) [46]                0.04    0.02 2033444/35156941     IOHandler::readRc() [33]                0.04    0.02 2034333/35156941     cond_queue<mlist<IO_CONTEXT*> >::pop_timeout(IO_CONTEXT*&, timespec*) [23]                0.04    0.02 2078356/35156941     ksocket::setCanRecv() [32]                0.04    0.02 2078442/35156941     cond_queue<mlist<IO_CONTEXT*> >::pop(IO_CONTEXT*&) [21]                0.04    0.02 2078598/35156941     ksocket::put(char const*, unsigned int) [5]                0.04    0.02 2088419/35156941     ksocket::recv(unsigned int) [9]                0.44    0.22 20844417/35156941     ksocket::unpack() [3][11]     4.3    0.75    0.38 35156941         Scope_lock::Scope_lock(Lock&) [11]                0.38    0.00 35157133/39589392     Lock::lock() [27]-----------------------------------------------                0.04    0.40 1847230/4118577     IOworker::run() [8]                0.05    0.49 2271347/4118577     IOCP::dispatchIO(IO_CONTEXT*) [18][12]     3.7    0.09    0.90 4118577         cond_queue<mlist<IO_CONTEXT*> >::push(IO_CONTEXT*) [12]                0.68    0.02 4159641/4159655     mlist<IO_CONTEXT*>::push_back(IO_CONTEXT*&) [17]                0.06    0.00 4145732/9074653     mlist<IO_CONTEXT*>::empty() [35]                0.05    0.00 4113070/39566635     Lock::unlock() [24]                0.04    0.00 4128647/39589392     Lock::lock() [27]                0.03    0.00  993121/993361      Cond::signal() [54]-----------------------------------------------                0.07    0.87 2078618/2078618     ksocket::recv(unsigned int) [9][13]     3.5    0.07    0.87 2078618         Recv(int, IO_CONTEXT*) [13]                0.27    0.60 2083224/2083224     IOHandler::recv(IO_CONTEXT*) [15]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -