12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

# This is needed$pool use-asim$pool cre<strong>at</strong>e-session 0 $numPage 0 $interPage $pageSize $interObj $objSize# Dumps internal d<strong>at</strong>a structures to this dumpfile$<strong>ns</strong> asim-dump dumpfile# Calls asim-run$<strong>ns</strong> asim-run# Access asim st<strong>at</strong>isticsset l [$<strong>ns</strong> link $n(0) $n(1)]puts "after asim run, link bw = [$<strong>ns</strong> asim-getLinkTput $l] packets"puts "after asim run, flow bw = [$<strong>ns</strong> asim-getFlowTput $ltcp(0)] packets"381

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!