[j-sim-users] trace file

wafa ben jaballah wafa_if5 at yahoo.fr
Thu Oct 4 15:18:53 CDT 2007


Hi !
   
  I want to simulate differents scenarios in jsim for a limited period. So I want to create a trace file and redirect the result to this trace file. 
   
  To do this,  In the java file, I create a port to redirect the results, then I compute the end to end delay ( as an example), and I redirect the results to the specified port.
   
  In TCL script, I create the trace file 
   
  set filename_ FTRACE.result
  set file_ [mkdir drcl.comp.io.FileComponent .file]
  $file_ open $filename_
  connect -c n0/app/.trace@ -to $fileAlll_/in@ 
   
   
  when I execute this, I find that the trace file "FTRACE" is created and is empty.
  I don't know  what is the problem and if it is related to 
  connect -c n0/app/.trace@ -to $fileAlll_/in@ 
   
   and I'm sure the code in java and TCl are correct.
   
  Can please anyone help me, I would be very grateful.
   
   
   
   
   

       
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/j-sim-users/attachments/20071004/350bb239/attachment.html 


More information about the j-sim-users mailing list