#!F-adobe-helvetica-medium-r-normal--18* #!N #!N #!Rtrace Trace #!N #!N Category #!N #!N #!Lcatdbg,dxall754 h Debugging #!EL #!N #!N Function #!N #!N Enable or disables tracing options. #!N #!N Syntax #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N Trace( #!F-adobe-times-bold-r-normal--18* what, how #!EF ); #!EF #!N #!N #!EC #!N #!N Inputs #!T,1,91,276,461,646 #!F-adobe-times-medium-r-normal--14* #!F-adobe-times-bold-r-normal--18* #!N TAB Name TAB Type TAB Default TAB Description #!EF #!N TAB what TAB string TAB none TAB the object to be traced #!N TAB how TAB integer TAB 1 TAB 0: set tracing off #!N TAB - TAB - TAB - TAB 1: set tracing on #!N TAB - TAB - TAB - TAB #!EF #!N #!N Functional Details #!N #!N #!I0 #!N #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* what #!EF #!EF #!I50 #!N is (1) a keyword specifying the object to be traced #!F-adobe-times-medium-i-normal--18* or #!EF (2) a set of letters specifying a group of debug message classes, as used by the #!F-adobe-times-bold-r-normal--18* DXEnableDebug() #!EF library function (see IBM Visualization Data Explorer Programmer's Reference). #!N #!N At present, the only keyword value allowed for this parameter is #!F-adobe-times-bold-r-normal--18* "time" #!EF : #!F-adobe-times-bold-r-normal--18* Trace("time", 1); #!EF will begin the trace, and #!F-adobe-times-bold-r-normal--18* Trace("time", 0); #!EF will print a record of time use since the tracing was started. The output appears in the Message window. #!N If #!F-adobe-times-bold-r-normal--18* what #!EF is a string of lowercase letters other than #!F-adobe-times-bold-r-normal--18* time #!EF , the module calls the #!F-adobe-times-bold-r-normal--18* DXEnableDebug #!EF library function. (The uppercase letters A-Z and the numbers 0-9 are reserved for system use). #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* how #!EF #!EF #!I50 #!N specifies whether the trace option is activated or not. #!I0 #!N #!N Note: If the executive is started with the flag -timing on, the command Trace("time", 0) causes all module entry and exit times to be printed. In the VPE window, this command can be enabled using the Debug Tracing button in the #!F-adobe-times-bold-r-normal--18* Commands #!EF menu of the Message window (see #!Ldebug,dxall482 h Using the Message Window #!EL in IBM Visualization Data Explorer User's Guide). #!N #!N Script Language Example #!N #!N In this example, the module traces the use of time by Isosurface. #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N electrondensity = Import("/usr/lpp/dx/samples/data/watermolecule"); #!N electrondensity = Partition(electrondensity); #!N camera = AutoCamera(electrondensity, width=5); #!N Trace("time", 1); #!N isosurface = Isosurface(electrondensity, 0.3); #!N Trace("time", 0); #!N Display(isosurface, \camera); #!EF #!N #!N #!EC #!N #!N See Also #!N #!N #!Lusage,dxall974 h Usage #!EL #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Ltransfo,dxall967 h Transform #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Sat Jun 22 12:49:40 CEST 2024.