Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
^PROFILE Example<br />
There are 5 routines selected for detailed profiling. You may now<br />
end the routine level collection and start a detailed profiler collection.<br />
WARNING !!<br />
This will have each process on the system gather subroutine level and line<br />
level activity on these routines. Note that this part of the collection may<br />
have a significant effect on performance and should only be run in a test<br />
or development instance of Cache.<br />
Are you ready to start the detailed collection Yes =><br />
6. After you press Enter, a page similar to the following is displayed:<br />
Stopping the routine level Profile collection ...<br />
Loading ^DocBook.chapter.1 in c:\intersystems\cache\mgr\docbook\<br />
Loading ^DocBook.para.1 in c:\intersystems\cache\mgr\docbook\<br />
Loading ^DocBook.Renderer.1 in c:\intersystems\cache\mgr\docbook\<br />
Loading ^DocBook.listitem.1 in c:\intersystems\cache\mgr\docbook\<br />
Loading ^DocBook.block.1 in c:\intersystems\cache\mgr\docbook\<br />
Detail level Profile collection started.<br />
RtnLine Routine Name (Database)<br />
1. 0% DocBook.Renderer.CLS (DOCBOOK)<br />
2. 0% DocBook.block.CLS (DOCBOOK)<br />
3. 0% DocBook.chapter.CLS (DOCBOOK)<br />
4. 0% DocBook.para.CLS (DOCBOOK)<br />
5. 0% DocBook.listitem.CLS (DOCBOOK)<br />
Select routine to see details or '' for more options R =><br />
7. After you select the routine whose code you want to analyze, a page similar to the following is displayed:<br />
Line RtnLine<br />
Code<br />
1. 0 ;DocBook.chapter.1<br />
2. 0 ;(C)<strong>InterSystems</strong>, generated for class DocBook.chapter. Do NOT<br />
3. 0 ;;0032F4FE18715E65;DocBook.chapter<br />
4. 0 ;<br />
5. 0 %1Check(id="",lockonly=0) public {<br />
6. 0 Set exists=($select(id="":0,(+##class(DocBook.chapter).%OnDe<br />
7. 0 %AcquireLock(%this,locktype="") public {<br />
8. 0 Quit ..%LockId(($listget($zobjval(,0,,,,3))),$s($e(locktype)<br />
9. 0 %BMEBuilt(bmeName)<br />
10. 0 Set bmeName = "$chapter"<br />
11. 0 Quit ''$d(^DocBook.blockI("$chapter"))<br />
12. 0 %BindExport(%this,dev,Seen,RegisterOref,AllowedDepth,AllowedCapa<br />
13. 0 i $d(Seen(""_%this)) q 1<br />
14. 0 Set Seen(""_%this)=%this<br />
15. 0 s sc = 1<br />
16. 0 s proporef=$PROPERTY(%this,"book")<br />
17. 0 s proporef=$PROPERTY(%this,"component")<br />
18. 0 s proporef=$PROPERTY(%this,"container")<br />
19. 0 d:RegisterOref InitObjVar^%SYS.BINDSRV(%this)<br />
20. 0 i dev'="" s t=$io u dev i $s($P(dev,":",1)="|TRM|":$$debugPu<br />
21. 0 i AllowedDepth>0 s AllowedDepth = AllowedDepth - 1<br />
Routine DocBook.chapter.1 in DOCBOOK - '' for options N =><br />
<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 55