Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

set ns [ne Slmlator]

#Open Trace flle andAM fi.le


set ntrace [op n progl . r ]
$n trace all $ntrace
s t natl [op n progt .na w]
natrace- all $na tt

#Ftnlsh P oc dur
proc Ftntsh (} {
glob l n ntrac namf e
#Dump all he tr c d a nd h tl
clo
$n lush tr c
cto $ntr c
c os Sn '\.'l

# x cu h na n mat on tt
x c n M prog 1.n

#Show the nul"lb r o · p .ck t dr opp d


exec cho " h nu r o p c " drop
exec grep-c ""d'p rog l . r &
extt e
)
#Create 3 nodes set ne [$ns node set
n1 [$ns node set n2 [$ns node]

You might also like