Regular Expressions

Real World Example (3)

"prof" output example (excerpt)



 %Time Seconds Cumsecs  #Calls   msec/call  Name
  26.5    0.09    0.09                      shi_thr_initialized
  17.6    0.06    0.15                      MemFreePtr
   8.8    0.03    0.18                      _shi_mutex_lock
   8.8    0.03    0.21                      MemAllocPtr
   2.9    0.01    0.22                      _mcount
   2.9    0.01    0.23                      free
   2.9    0.01    0.24                      shi_getThreadPool
   2.9    0.01    0.25                      shi_New(unsigned long, unsigned int, _SHI_Pool*)
					    [__0FHshi_NewUlUiP6J_SHI_Pool]
   2.9    0.01    0.26       1     10.      webxNewHandler::~webxNewHandler(void)
					    [__0oOwebxNewHandlerdtv]
   2.9    0.01    0.27   20417      0.0005  unsafe_ostream::outstr(const char*, const char*)
					    [__0fOunsafe_ostreamGoutstrPCcTB]
   2.9    0.01    0.28                      _shi_allocBlock
   2.9    0.01    0.29                      _shi_sysSizePool
   2.9    0.01    0.30                      webxAttachment::Process(void)
					    [__0fOwebxAttachmentHProcessv]
   2.9    0.01    0.31    2084      0.005   filebuf::sync(void)
					    [__0fHfilebufEsyncv]
   2.9    0.01    0.32                      ostream::operator <<(ios& (*)(ios&))
					    [__0oHostreamlsPFR6Dios_R6Dios]
   2.9    0.01    0.33     974      0.01    filebuf::overflow(int)
					    [__0fHfilebufIoverflowi]
   2.9    0.01    0.34  179105      0.0001  stream_rmutex::rmutex_lock(void)
					    [__0fNstream_rmutexLrmutex_lockv]
   0.0    0.00    0.34     251      0.00    webxAuthenticate::webxAuthenticate(webx*)
					    [__0oQwebxAuthenticatectP6Ewebx]
   0.0    0.00    0.34     250      0.00    webxAuthenticate::~webxAuthenticate(void)
					    [__0oQwebxAuthenticatedtv]
   0.0    0.00    0.34       8      0.      webxAuthenticate::preProcess(void)
					    [__0fQwebxAuthenticateKpreProcessv]
   0.0    0.00    0.34       1      0.      static webx::terminate(void)
					    [__0fEwebxJterminatevT]
   0.0    0.00    0.34     241      0.00    webxAuthenticate::process_auth(void)
					    [__0fQwebxAuthenticateMprocess_authv]
   0.0    0.00    0.34     522      0.00    webxBaseAction::~webxBaseAction(void)
					    [__0oOwebxBaseActiondtv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::webxErrorPage(webx*)
					    [__0oNwebxErrorPagectP6Ewebx]
   0.0    0.00    0.34      13      0.0     webxErrorPage::~webxErrorPage(void)
					    [__0oNwebxErrorPagedtv]
   0.0    0.00    0.34       8      0.      webxAuthenticate::Process(void)
					    [__0fQwebxAuthenticateHProcessv]
   0.0    0.00    0.34       8      0.      webxAuthenticate::postProcess(void)
					    [__0fQwebxAuthenticateLpostProcessv]
   0.0    0.00    0.34     523      0.00    webxBaseAction::webxBaseAction(webx*)
					    [__0oOwebxBaseActionctP6Ewebx]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_processDisplay(void)
					    [__0fNwebxErrorPageP_processDisplayv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_addErrorSniglet(void)
					    [__0fNwebxErrorPageQ_addErrorSnigletv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_addExtraErrorText(void)
					    [__0fNwebxErrorPageS_addExtraErrorTextv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_addBasicComponent(void)
					    [__0fNwebxErrorPageS_addBasicComponentv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_addOtherComponents(void)
					    [__0fNwebxErrorPageT_addOtherComponentsv]
   0.0    0.00    0.34       1      0.      webxErrorPage::_addSaveToPnewsLink(RWCString&)
					    [__0fNwebxErrorPageT_addSaveToPnewsLinkR6JRWCString]
   0.0    0.00    0.34       2      0.      webxFormAuthPage::webxFormAuthPage(webx*)
					    [__0oQwebxFormAuthPagectP6Ewebx]
   0.0    0.00    0.34       2      0.      webxFormAuthPage::~webxFormAuthPage(void)
					    [__0oQwebxFormAuthPagedtv]
   0.0    0.00    0.34       5      0.      webxErrorPage::_addEditSearchLink(RWCString&)
					    [__0fNwebxErrorPageS_addEditSearchLinkR6JRWCString]
   0.0    0.00    0.34       1      0.      webxGlobalVar::webxGlobalVar(void)
					    [__0oNwebxGlobalVarctv]
   0.0    0.00    0.34       1      0.      webxGlobalVar::createSmartLinxTbl(void)
					    [__0fNwebxGlobalVarScreateSmartLinxTblv]
   0.0    0.00    0.34      13      0.0     webxMessagePage::webxMessagePage(webx*)
					    [__0oPwebxMessagePagectP6Ewebx]
   0.0    0.00    0.34      13      0.0     webxMessagePage::~webxMessagePage(void)
					    [__0oPwebxMessagePagedtv]
   0.0    0.00    0.34      13      0.0     webxMessagePage::Process(void)
					    [__0fPwebxMessagePageHProcessv]
   0.0    0.00    0.34      26      0.0     webxErrorPage::_checkForRedirection(void)
					    [__0fNwebxErrorPageU_checkForRedirectionv]
   0.0    0.00    0.34       1      0.      webxSrchErrSniglets::webxSrchErrSniglets(void)
					    [__0oTwebxSrchErrSnigletsctv]
   0.0    0.00    0.34       3      0.      webxSrchErrSniglets::getMsgType(int)
					    [__0fTwebxSrchErrSnigletsKgetMsgTypei]
   0.0    0.00    0.34       1      0.      webxSrchErrSniglets::getDefaultSniglet(void)
					    [__0fTwebxSrchErrSnigletsRgetDefaultSnigletv]
   0.0    0.00    0.34       1      0.      webxSrchErrSniglets::_readFile(const char*)
					    [__0fTwebxSrchErrSnigletsJ_readFilePCc]
   0.0    0.00    0.34       1      0.      webxUrlRouter::webxUrlRouter(void)
					    [__0oNwebxUrlRouterctv]
   0.0    0.00    0.34     241      0.00    webxUrlRouter::routUrlRequest(webx*)
					    [__0fNwebxUrlRouterOroutUrlRequestP6Ewebx]
   0.0    0.00    0.34       1      0.      webxUrlRouter::buildUrlRouterMap(void)
					    [__0fNwebxUrlRouterRbuildUrlRouterMapv]
   0.0    0.00    0.34      13      0.0     webxErrorPage::_addFooter(void)
					    [__0fNwebxErrorPageK_addFooterv]
   0.0    0.00    0.34       1      0.      static webx::init(void)
					    [__0fEwebxEinitvT]
   0.0    0.00    0.34     243      0.00    webx::execute(void)
					    [__0fEwebxHexecutev]
   0.0    0.00    0.34     243      0.00    webx::pre_execute(void)
					    [__0fEwebxLpre_executev]
   0.0    0.00    0.34       2      0.      webxFormAuthPage::process(void)
					    [__0fQwebxFormAuthPageHprocessv]
   0.0    0.00    0.34       2      0.      webxFormAuthPage::_getIncomingUrl(RWCString&)
					    [__0fQwebxFormAuthPageP_getIncomingUrlR6JRWCString]
   0.0    0.00    0.34     204      0.00    static webxSrchErrSniglets::myhash(RWCollectableInt&)
					    [__0fTwebxSrchErrSnigletsGmyhashR6QRWCollectableIntT]
   0.0    0.00    0.34     137      0.00    webxWorkArea::webxWorkArea(webx*)
					    [__0oMwebxWorkAreactP6Ewebx]
   0.0    0.00    0.34     137      0.00    webxWorkArea::~webxWorkArea(void)
					    [__0oMwebxWorkAreadtv]
   0.0    0.00    0.34      67      0.0     webxWorkArea::addFooter(void)
					    [__0fMwebxWorkAreaJaddFooterv]
   0.0    0.00    0.34      45      0.0     webxWorkArea::addUpdateMessage(WebCompInclude*)
					    [__0fMwebxWorkAreaQaddUpdateMessageP6OWebCompInclude]
   0.0    0.00    0.34       4      0.      webxWorkArea::setSelectedEmail(WebCompInclude*)
					    [__0fMwebxWorkAreaQsetSelectedEmailP6OWebCompInclude]
   0.0    0.00    0.34   56013      0.0000  RWTValOrderedVector::boundsCheck(unsigned int) const


Back to Syllabus
Previous: Real World Example (2)
Next: Real World Example (4)