Professional Documents
Culture Documents
Objectives
Use the five+stage process modeling methodology: (! Conte,t definition -! Process level decomposition .! /numeration of events $per process& 0! /vent response ta le development 1! Specification of process actions in %P2/3 $per process&
P)g$ * o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Instructions
Stage 1: Context Definition 4raw the diagram elow:
Stage 2: Process-Level Decomposition (! 4etermine which process decomposition technique is applica le to the system: Single process Multiple process
(! #f a multi+process implementation is chosen, identify the areas of responsi ility assigned to each process! -! "or multi+process implementations, determine circumstances of process creation and which process will e the root!
P)g$ ! o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Stage 3: Enumeration of Events (! 4efine the logical events of each process! -! Select implementation methods for each event! "ill in the ta le elow! Event Name Event Description Interrupt Type
P)g$ # o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Stage 4: Event Response a!le Development Starting with the initial state: (! Choose a state! a! Choose an event! i! Choose a condition under which event occurs! ii! 4etermine all actions to perform! iii! 4etermine final state! iv! 5epeat for all conditions of the current event! ! 5epeat for all events of the current state! -! 5epeat until all states are complete! State Event Condition Action Final State
P)g$ - o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Stage ": Specification of Process #ctions (! 5eview for completeness the specification of the logical actions of the process! -! #mplement the state transition diagram $S34& in %P2/3! .! 4efine or replace macros and pseudo+code! 4raw your state transition diagram here $after completing stage 0&:
Init
EN
O! L"#
P)g$ . o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Instructions
$!serve t%e &nitial 'e%avior (Root Process) (! Start %P2/3 Modeler! -! %pen the dynproc_new pro*ect: a! Choose File > Open > Project7 ! Select dynproc_new and click OK! .! Change the scenario to root_process if not already open: a! Choose Scenarios > S itc! To Scenario > root"process! 0! 5un the simulation: a! Choose DES > #un Discrete Event Simulation or press Ctrl8Shift85! 1! % serve the output of the simulation $ne,t page&!
P)g$ / o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
3he root process monitors all packet streams, recording the num er of packets received on each stream! 3he output is produced y a call to the op_sim_message() 9ernel Procedure:
void dynproc_table_display (const char *prefix, const int table[3]) { int i; char buffer [5 !]; "#$ (dynproc_table_display()); sprintf (buffer, %&s' %, prefix); for (i ( ); i * strea+_count; i,,) { sprintf (buffer , strlen (buffer), %(&d) &d op_si+_+essa.e (buffer, /01_$#2); "/34; -
%, i, table [i]);
Close the Simulation Sequence dialog o, when you are ready for the ne,t step!
P)g$ 0 o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
#** t%e +se of C%il* Processes #n this step you will add code to the process model! 3his code will: Create child processes to process incoming packets on each stream! #nvoke the appropriate child process when receiving a packet! 4estroy the child processes at the end of the simulation!
3hen you will declare the child process models to e used $these models have already een implemented for you&! % serve the ehavior of the modified simulation! Note$ :ou might imagine this corresponding to a scenario in which the node is the end point for multiple circuits! 3he first incoming packet is a circuit call signal message! #ts arrival causes the creation of a child process, which then handles all further processing for the circuit: call setup, traffic processing, and call teardown! 3he process can e destroyed during call teardown, as in this e,ample, or left alive to handle the ne,t call signal message for the circuit! (! Create the child processes: a! %pen the dynproc_root process model $File > Open > Process&! ! %pen the init state;s enter execs lock $dou le+click the top half of the state&! c! After the comment la eled 5 6, add this code:
child_proc [i] = op_pro_create ("dynproc_child", OPC_NIL);
d! Save your changes! -! #nvoke the child processes as appropriate: a! %pen the dispatch state;s enter execs lock! ! After the comment la eled 5 7, add this code:
op_pro_invoke (child_proc [ trea!_inde"], OPC_NIL);
c! Save your changes! .! 4estroy the child processes when no longer needed: a! %pen the process model;s "unction <lock $Code %loc&s > Function %loc&&! ! After the comment la eled 5 8, add this code:
op_pro_de troy (child_proc [i]);
c! Save your changes! 0! 4eclare the child processes to e used: a! Choose File > Declare C!ild Process 'odels( ! Select dynproc_child and click OK!
P)g$ 1 o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
1! Choose Compile > Compile Code to compile the code! =! 5eturn to the Pro*ect /ditor $choose )indo s > Project Editor > dynproc"ne &! >! Switch to the child_process scenario $choose Scenarios > S itc! To Scenario > c!ild"process&! ?! 5un the simulation! % serve in the simulation output how the packets on each input stream are now eing handled y the corresponding child process!
Created child processes to handle packets from the incoming streams! #nvoked a child process for each incoming packet! 4estroyed the child processes when they were no longer necessary!
O! L"#
P)g$ , o+ !,
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""# OPNET T$%h&o'ogi$(, I&%.
Instructions
Register C%il* Processes (! 5eturn to the dynproc_root process model $e!g!, choose )indo s > Process Editor > dynproc"root&! -! %pen the init state;s enter execs lock! .! After the comment la eled 5!6, add the following code to perform the port+ ased registration:
op_intrpt_port_re#i ter(OPC_PO$%_%&P'_(%$), i, child_proc[i]);
0! Save your changes! 1! 3he dispatch state is now unnecessary, so delete it y selecting it and choosing Edit > Cut! =! Choose Compile > Compile Code to compile the process model! >! 5eturn to the dynproc_new pro*ect, switch to the child_process scenario $if necessary&, and run the simulation!
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *" o+ !,
As you view the simulation output, note how each child process handles the packets on the corresponding input stream! "urthermore, the root process does not handle packets at all! 6hy@A ecause the child processes are registered to receive the stream interrupts on each stream $port&! Consequently, the root process receives no stream interrupts at all!
&nstall -o*ule-.i*e -emor, (! 5eturn to the dynproc_root process model! -! %pen the init state;s enter execs lock .! After the comment la eled 536, add the following code to install the module+wide memory:
op_pro_!od!e!_in tall (packet_ i*e_ tathandle);
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ ** o+ !,
=! Bo to the dynproc_child process model y using the following shortcut: a! 5ight+click in the process model window7 ! Choose C!ild Processes > dynproc"c!ild from the pop+up menu! >! %pen the main state;s enter execs lock! ?! After the comment la eled 531, add this code:
print+ (t!p_ trin#, "Child_proce ,-d", trea!_inde"); tat_inde" = dynproc_child_#et_ tat_inde" (t!p_ trin#); t!p_ tat_handle = (O! %_.i!_(tat_/andle0) op_pro_!od!e!_acce (); O! _.i!_(tat_1rite (t!p_ tat_handle [ tat_inde"], op_pk_total_ i*e_#et (t!p_packet));
C! Save your changes! ()! Compile the process model! ((! 5eturn to the dynproc_new pro*ect! (-! Change the collection mode for the statistics generated y the process group to bucket mode, as follows: a! 5ight+click the node named Node and select C!oose Individual DES Statistics from the pop+up menu!
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *! o+ !,
! #n the Choose 5esults dialog o,, e,pand the tree to reveal the Pac&et"Si*es+%its, statistic $as shown elow& if necessary! 5ight+click the statistic and choose C!an-e Collection 'ode from the pop+up menu!
c! #n the resulting capture mode dialog o,, make the following changes: i! ii! iii! Set the Capture Mode to .uc&et! Select the Every """ seconds radio utton, if it is not already selected! Set the interval to -1 $seconds&!
d! Click the OK utton in each of the two open dialog o,es to accept the changes! (.! 5un the simulation!
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *# o+ !,
(0! 6hen the simulation has finished, view the results as follows: a! 5ight+click the node called Node and choose /ie #esults from the pop+up menu! ! #n the Diew 5esults dialog o,, select the Pac&et"Si*es+%its, statistics from the three child processes $as shown elow&, then click S!o to display them!
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *- o+ !,
Compare the results to those shown in the following figure! % serve how each child process was a le to report its statistics y accessing the corresponding stat handle in the module+wide shared memory!
Summar, #n this la : 6e steered packets to the appropriate child process ased on the incoming port or stream inde, $that is, we used port+ ased steering&! 6e removed any processing load of incoming packets from the root process! 3he design is now modulariEed, allowing for direct invocation of the appropriate child process from the Simulation 9ernel!
O! L"#
EN
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *. o+ !,
Lab *: ebugging
Overview
yna)ic Processes
#n this la we will step through the simulation using the %P2/3 4e ugger $%4<&! 6e will o serve the creation of the child processes, see the child processes handle packets, and stop to view the state of a child process after it has handled 1) packets! 3his will e,pose you to the various %4< commands used to control and o serve dynamic processes!
Instructions
(! 5eturn to the dynproc_new pro*ect and make sure the child_process scenario is selected! -! Configure the simulation to run under the %P2/3 4e ugger $%4<&: a! Choose DES > Con0i-ure1#un Discrete Event Simulation or press Ctrl85! ! /,pand the E2ecution node in the tree at the left edge of the dialog o,, and select the OPNET De.u--er item! c! Select the 3se OPNET Simulation De.u--er +OD%, check o,, as shown elow! d! Select the Pause 0or user input .e0ore closin- OPNET console !en simulation ends check o,, as shown elow! e! Click the #un utton to run the simulation!
.! Switch to the console window and wait until the simulation is loaded and initialiEed! After a short time, you will see an od23 prompt!
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ */ o+ !,
0! Step through the following simulation y typing one or more %4< commands and viewing the output in the console window: ob9+ap proc dp 3his shows all the processor o *ects $not processes& containing the string FdpG! 2ote the o *ect #4 of the module we wish to o serve $-&, and display the processes within that module: pro+ap ! At present there is only a single process $the root process& instantiated within the module! 2ote its process #4 $)&! Set a reakpoint on it and turn on tracing within it: prostop ) protrace ) %4< displays no output after these commands! status 3he output from this command confirms that the reakpoint and trace have een set! 2ow start e,ecution of the simulation: cont 3he simulation stops *ust efore invocation of the first event at the root process! 2ow step through this event: next 2ote in the tracing output how the child processes are eing created! 2ow view the state of this module again: pro+ap ! 2ow there are four processes within the module! Set a reakpoint on one of the child processes, and continue: prostop : cont /,ecution halts *ust efore delivery of the first interrupt to the child process! 3urn on tracing for this process, and step through the event: protrace : next % serve the child initialiEing! 2ote that it sets a tag for itself! 6e can o serve this tag in the de ugger: pro+ap !
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *0 o+ !,
3his allows us to distinguish etween multiple instances of the same process model! 2ow clear the e,isting reakpoints and traces: delstop all deltrace all 2ow set a la eled reakpoint on the child process! 3his reakpoint will ecome active after the process has handled 1) packets! 3his ehavior has een programmed into the child process model: prolstop : %dynproc_5)% cont 3he simulation resumes and stops again within the child process when it reaches the la eled reakpoint! 2ow invoke the diagnostic lock of the child process: prodia. : 3he output is generated y the code within the diagnostic lock of the process model! #t displays the state of the child process! 2ow that we have e,ercised the features of %4< that pertain to dynamic processes, stop the simulation: ;uit
A transcript of the entire de ugging session is shown on the following pages! $Some long lines are wrapped to fit the width of the page!&
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *1 o+ !,
_______________ /0$<4 =i+ulation 8ebu..er _______________ 4ype >help> for 1o++and =u++ary od23 o24!ap proc dp /b9 #8 /b9 $a+e /b9 4ype 0arent #8 ??????????????????????????????????????????????????????????????????????? ! top@$ode@dp processor od23 pro!ap 5 ____________________________________________________________ 6ctive 0rocesses for Aodule (!) process #8 process +odel process ta. ?????????? ????????????? ??????????? ) dynproc_root (none) od23 pro top 6 od23 protrace 6 od23 tat7 stop at invocation of process ())
6ctions ' $one od23 cont ________________________ (/87 * 4i+e * <vent intrpt) * =ource * 8ata D Aodule ' ' ' ' ' @)@6' <vent) ________________________
) sec, [))d ))h ))+ ))s @ )))+s )))us )))ns )))ps] execution #8 ()), schedule #8 (5)), type (be.in si+ =i+ulation Cernel none top@$ode@dp [/b9id(!] (processor)
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ *, o+ !,
_________#nvoBin. process #8 ())_________ ,? process (%dynproc_root%) E E _________state (init)' enter executives_________ E E ,? op_id_self () E E ob9ect #8 (!) E ,??????? E E ,? op_topo_assoc_count (ob9id, direction, ob9+type) E E ob9id (!) E E assoc@ dir@ (/01_4/0/_6==/1_#$) E E assoc@ type (pacBet strea+) E E nu+ assocs@ (3) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe (!G) E E +e+@ addr@ ()x) 1 G1")) E ,??????? E E ,? op_pro_create (pro_na+e, parent_+e+_ptr) E E process na+e (dynproc_child) E E parent +e+ory ()x))))))))) E E process #8 (G) E ,??????? E E ,? op_intrpt_port_re.ister (port_type, port_index prohandle) E E port type (str+) E E port index ()) E E process #8 (G) E ,??????? E E ,? op_pro_create (pro_na+e, parent_+e+_ptr) E E process na+e (dynproc_child) E E parent +e+ory ()x))))))))) E E process #8 (5) E ,??????? E E ,? op_intrpt_port_re.ister (port_type, port_index prohandle) E E port type (str+) E E port index ( ) E E process #8 (5) E ,??????? E E ,? op_pro_create (pro_na+e, parent_+e+_ptr) E E process na+e (dynproc_child) E E parent +e+ory ()x))))))))) E E process #8 (:) E ,??????? E E ,? op_intrpt_port_re.ister (port_type, port_index prohandle)
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !" o+ !,
E E port type (str+) E E port index (!) E E process #8 (:) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe ( !) E E +e+@ addr@ ()x) 1 G1:)) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe ( !) E E +e+@ addr@ ()x) 1 G13H) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe ( !) E E +e+@ addr@ ()x) 1 3I )) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe (3!) E E +e+@ addr@ ()x) 1 !" )) E ,??????? E E ,? op_pro_self () E E process #8 ()) E ,??????? E E ,? op_pro_+od_ob9id (pro_handle) E E process #8 ()) E E +odule ob9id (!) E ,??????? E E ,? /+s_8i+_=tat_Je. (+odule_id, .roup_na+e, stat_na+e, stat_Bey_str, stat_type) E E E E ,? o+s_di+_stat_desc_alloc () E E E E E E ,? op_pr._p+o_define (na+e, incre+ent) E E E E na+e (/A= 8i+ensioned =tathandle 8escriptors) E E E E siFe ( !) E E E E incre+ent (:G) E E E ,??????? E E E E E E ,? op_pr._p+o_alloc (p+h) E E E E p+o na+e (/A= 8i+ensioned =tathandle 8escriptors) E E E E p+o address ()x) 1<H:8)) E E E ,??????? E E E E E ,??????? E E
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !* o+ !,
E E ,? op_stat_di+_siFe_.et (stath, di+_siFe_ptr) E E E stat na+e (@0acBet_=iFes(7its)) E E E ob9id (!) E E E di+ siFe (3) E E ,??????? E E E E ,? o+s_di+_stat_re.ister (di+_stat_desc_handle_ptr, .roup_na+e, stat_na+e, stat_type, stat_Bey_str) E E E E E E ,? o+s_di+_stat_alloc () E E E E E E E E ,? op_pr._p+o_define (na+e, incre+ent) E E E E E na+e (/A= 8i+ensioned =tathandles) E E E E E siFe ( :) E E E E E incre+ent (:G) E E E E ,??????? E E E E E E E E ,? op_pr._p+o_alloc (p+h) E E E E E p+o na+e (/A= 8i+ensioned =tathandles) E E E E E p+o address ()x) 1K<"6H) E E E E ,??????? E E E E E E E ,??????? E E E E E E ,? op_stat_ob9_re. (na+e, ob9id, index) E E E E na+e (@0acBet_=iFes(7its)) E E E E ob9id (!) E E E E index ()) E E E ,??????? E E E E E E ,? op_si+_debu. () E E E E debu. active (true) E E E ,??????? E E E E E E ,? op_pr._odb_ltrace_active (label) E E E E label (di+_stat_re.) E E E E label trace active (false) E E E ,??????? E E E E E E ,? op_stat_valid (stath) E E E E stat na+e (0acBet_=iFes(7its) [)]) E E E ,??????? E E E E E ,??????? E E E ,??????? E E ,? /+s_8i+_=tat_6nnotate (/+s4_8i+_=tat_Landle di+_stathandle, const char*stat_annotation_str) E E E E ,? op_stat_annotate (stath, annotation) E E E stat (0acBet_=iFes(7its) [)]) E E E annotation (1hild_process')) E E ,???????
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !! o+ !,
E E E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe (3!) E E +e+@ addr@ ()x) 1 :HH) E ,??????? E E ,? op_pro_self () E E process #8 ()) E ,??????? E E ,? op_pro_+od_ob9id (pro_handle) E E process #8 ()) E E +odule ob9id (!) E ,??????? E E ,? /+s_8i+_=tat_Je. (+odule_id, .roup_na+e, stat_na+e, stat_Bey_str, stat_type) E E E E ,? o+s_di+_stat_re.ister (di+_stat_desc_handle_ptr, .roup_na+e, stat_na+e, stat_type, stat_Bey_str) E E E E E E ,? o+s_di+_stat_alloc () E E E E E E E E ,? op_pr._p+o_alloc (p+h) E E E E E p+o na+e (/A= 8i+ensioned =tathandles) E E E E E p+o address ()x) 1K<"1)) E E E E ,??????? E E E E E E E ,??????? E E E E E E ,? op_stat_ob9_re. (na+e, ob9id, index) E E E E na+e (@0acBet_=iFes(7its)) E E E E ob9id (!) E E E E index ( ) E E E ,??????? E E E E E E ,? op_si+_debu. () E E E E debu. active (true) E E E ,??????? E E E E E E ,? op_pr._odb_ltrace_active (label) E E E E label (di+_stat_re.) E E E E label trace active (false) E E E ,??????? E E E E E E ,? op_stat_valid (stath) E E E E stat na+e (0acBet_=iFes(7its) [ ]) E E E ,??????? E E E E E ,??????? E E E ,???????
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !# o+ !,
E E ,? /+s_8i+_=tat_6nnotate (/+s4_8i+_=tat_Landle di+_stathandle, const char*stat_annotation_str) E E E E ,? op_stat_annotate (stath, annotation) E E E stat (0acBet_=iFes(7its) [ ]) E E E annotation (1hild_process' ) E E ,??????? E E E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe (3!) E E +e+@ addr@ ()x) 1):6!H) E ,??????? E E ,? op_pro_self () E E process #8 ()) E ,??????? E E ,? op_pro_+od_ob9id (pro_handle) E E process #8 ()) E E +odule ob9id (!) E ,??????? E E ,? /+s_8i+_=tat_Je. (+odule_id, .roup_na+e, stat_na+e, stat_Bey_str, stat_type) E E E E ,? o+s_di+_stat_re.ister (di+_stat_desc_handle_ptr, .roup_na+e, stat_na+e, stat_type, stat_Bey_str) E E E E E E ,? o+s_di+_stat_alloc () E E E E E E E E ,? op_pr._p+o_alloc (p+h) E E E E E p+o na+e (/A= 8i+ensioned =tathandles) E E E E E p+o address ()x) 1K<"8H) E E E E ,??????? E E E E E E E ,??????? E E E E E E ,? op_stat_ob9_re. (na+e, ob9id, index) E E E E na+e (@0acBet_=iFes(7its)) E E E E ob9id (!) E E E E index (!) E E E ,??????? E E E E E E ,? op_si+_debu. () E E E E debu. active (true) E E E ,??????? E E E E E E ,? op_pr._odb_ltrace_active (label) E E E E label (di+_stat_re.) E E E E label trace active (false) E E E ,???????
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !- o+ !,
E E E E E E ,? op_stat_valid (stath) E E E E stat na+e (0acBet_=iFes(7its) [!]) E E E ,??????? E E E E E ,??????? E E E ,??????? E E ,? /+s_8i+_=tat_6nnotate (/+s4_8i+_=tat_Landle di+_stathandle, const char*stat_annotation_str) E E E E ,? op_stat_annotate (stath, annotation) E E E stat (0acBet_=iFes(7its) [!]) E E E annotation (1hild_process'!) E E ,??????? E E E ,??????? E E ,? op_pro_+od+e+_install (+e+_ptr) E E +odule +e+@ ()x) 1 3I )) E ,??????? E E _________state (init)' exit executives_________ E E _________transition fro+ state (init) to state (idle)________ E E * condition' %default% E E _________state (idle)' enter executives_________ E ,??????? _________Jeturnin. fro+ process #8 ())_________ _________________________ (/87 * 4i+e * <vent intrpt) * =ource * 8ata D Aodule ' ' ' ' ' @)@6' <vent) _________________________
) sec, [))d ))h ))+ ))s @ )))+s )))us )))ns )))ps] execution #8 ( ), schedule #8 (5!), type (be.in si+ =i+ulation Cernel none top@$ode@.en_) [/b9id(3] (processor)
od23 pro!ap 5 ____________________________________________________________ 6ctive 0rocesses for Aodule (!) process #8 process +odel process ta. ?????????? ????????????? ??????????? ) dynproc_root (none) G dynproc_child (none) 5 dynproc_child (none)
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !. o+ !,
dynproc_child
(none)
________________________ (/87 * 4i+e * <vent intrpt) * =ource * 8ata D Aodule ' ' ' ' '
) sec, [))d ))h ))+ )s @ )))+s )))us )))ns )))ps] execution #8 (I), schedule #8 (5 !), type (strea+ execution #8 (:), top@$ode@.en_! (processor) instr+ (!), pacBet #8 (!) top@$ode@dp [/b9id(!] (processor)
breaBpoint trapped ' %stop at invocation of process (:)% od23 protrace 8 od23 ne"t _________#nvoBin. process #8 (:)_________ ,? process (%dynproc_child%) E E _________state (init)' enter executives_________ E E ,? op_id_self () E E ob9ect #8 (!) E ,??????? E E ,? op_topo_assoc_count (ob9id, direction, ob9+type) E E ob9id (!) E E assoc@ dir@ (/01_4/0/_6==/1_#$) E E assoc@ type (pacBet strea+) E E nu+ assocs@ (3) E ,??????? E E ,? op_pr._+e+_alloc (siFe) E E blocB siFe ( !) E E +e+@ addr@ ()x) 1:I H) E ,??????? E E ,? op_intrpt_str+ () E E active str+ (!) E ,??????? E E ,? op_pro_self () E E process #8 (:) E ,??????? E E ,? op_pro_ta._set (pro_handle, ta.) E E process #8 (:)
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !/ o+ !,
E E ta. (8yn0roc 1hild (strea+ !)) E E process na+e (dynproc_child) E ,??????? E E _________state (init)' exit executives_________ E E _________transition fro+ state (init) to state (+ain)________ E E * condition' %default% E E _________state (+ain)' enter executives_________ E E ,? op_intrpt_str+ () E E active str+ (!) E ,??????? E E ,? op_pB_.et (instr+_index) E E str+@ index (!) E E pacBet #8 (!) E ,??????? E E ,? dynproc_child_.et_stat_index (char* t+p_strin., int strea+_indx) E E E E ,? op_pro_self () E E E process #8 (:) E E ,??????? E E E E ,? op_pro_+od_ob9id (pro_handle) E E E process #8 (:) E E E +odule ob9id (!) E E ,??????? E E E E ,? op_i+a_ob9_svar_.et (ob9id, svar_na+e) E E E ob9ect id (!) E E E svar na+e (strea+_count) E E E svar addr@ ()x) 16<7K)) E E ,??????? E E E ,??????? E E ,? op_pro_+od+e+_access () E E +odule +e+@ ()x) 1 3I )) E ,??????? E E ,? op_pB_total_siFe_.et (pBptr) E E pacBet #8 (!) E E total siFe ( ,53 ) E ,??????? E E ,? /+s_8i+_=tat_Mrite (di+_stathandle, stat_value) E E E E ,? op_stat_Nrite (stath, value) E E E stat na+e (0acBet_=iFes(7its) [!])
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !0 o+ !,
E E E stat value ( ,53 ) E E ,??????? E E E ,??????? E E ,? op_pB_destroy (pBptr) E E pacBet #8 (!) E E E E * Cernel 6ction' 8estroyin. 0acBet E E pacBet #8 (!) E ,??????? E E ,? op_pr._odb_ltrace_active (label) E E label (dynproc) E E label trace active (false) E ,??????? E ,??????? _________Jeturnin. fro+ process #8 (:)_________ ________________________ (/87 * * * * D 4i+e <vent =ource 8ata Aodule ' ' ' ' ' @)@6' <vent) ________________________
)@I355!I H5 sec, [))d ))h ))+ )s @ I35+s 5!Ius Hns 5!Gps] execution #8 ( )), schedule #8 (5 3), type (self intrpt) execution #8 (:), top@$ode@.en_! (processor) code ( ) top@$ode@.en_! [/b9id(5] (processor) [process id' 3]
od23 pro!ap 5 ____________________________________________________________ 6ctive 0rocesses for Aodule (!) process #8 process +odel process ta. ?????????? ????????????? ??????????? ) dynproc_root (none) G dynproc_child 8yn0roc 1hild (strea+ )) 5 dynproc_child 8yn0roc 1hild (strea+ ) : dynproc_child 8yn0roc 1hild (strea+ !) od23 del top all od23 deltrace all od23 prol top 8 "dynproc_96" od23 cont ________________________ (/87 * 4i+e * <vent ' ' @)@6' <vent) ________________________
!G3@ 53GH) K sec, [))d ))h )G+ )3s @ 53+s GH)us K)ns G33ps] execution #8 (G5I), schedule #8 (5G:!), type (strea+
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !1 o+ !,
execution #8 (G5H), top@$ode@.en_! [/b9id(5] (processor) instr+ (!), pacBet #8 (!!K) top@$ode@dp [/b9id(!] (processor)
breaBpoint trapped ' %stop at label (dynproc_5)) in process (:)% od23 prodia# 8 E????????????????????????????????????????????????????????????????????E E Aodule (!), (top@$ode@dp) E E "ro+ procedure' dynproc_child_status () E E 0acBets handled' ()) ) ( ) ) (!) 5) E E????????????????????????????????????????????????????????????????????E od23 :7it E????????????????????????????????????????????????????????????????????E E Aodule (!), (top@$ode@dp) E E "ro+ procedure' dynproc_table_display (prefix, table) E E 0acBets handled' ()) ) ( ) ) (!) ) E E????????????????????????????????????????????????????????????????????E E????????????????????????????????????????????????????????????????????E E Aodule (!), (top@$ode@dp) E E "ro+ procedure' dynproc_child_status () E E 0acBets handled' ()) )! ( ) ) (!) ) E E????????????????????????????????????????????????????????????????????E E????????????????????????????????????????????????????????????????????E E Aodule (!), (top@$ode@dp) E E "ro+ procedure' dynproc_child_status () E E 0acBets handled' ()) ) ( ) K: (!) ) E E????????????????????????????????????????????????????????????????????E E????????????????????????????????????????????????????????????????????E E *** Jecoverable <rror DDD E E 0rocess handle is for active process (:)@ E E 4 (!G3@ 53), <O (G:)), A/8 (top@$ode@dp), C0 (op_pro_destroy) E E????????????????????????????????????????????????????????????????????E E????????????????????????????????????????????????????????????????????E E =i+ulation 1o+pleted ? 1ollatin. Jesults@ E E <vents' 4otal (G: ), 6vera.e =peed (G eventsPsec@) E E 4i+e' <lapsed ( +in@ G) sec@), =i+ulated (G +in@ 3 sec@) E E =i+ulation 2o.' entries E E????????????????????????????????????????????????????????????????????E 0ress *<$4<JD to continue@
EN
O! L"#
CONFIDENTIAL INFORMATION: DO NOT DISCLOSE, FORWARD, DISTRIBUTE, SHARE, OR MAKE COPIES OF THIS DOCUMENT IN WHOLE OR IN PART. Copyrigh !""- OPNET T$%h&o'ogi$(, I&%.
P)g$ !, o+ !,