ORBIT-USER: Question in tutorial about Virtual Mobility SS
Arinto Murdopo
arinto at gmail.com
Wed Feb 14 12:03:08 EST 2007
Thank you very much :D
arinto
On 2/15/07, Sachin <sachin at winlab.rutgers.edu> wrote:
>
> Arinto,
>
> The responses are embedded inline
> >
> > 1.3 Creating OML shared library and headers for Iperf
> >
> > After defining the application definition file as above, use the
> following
> > command to submit the application definition file to a wrapper utility
> >
> > '''wget -q http://www.orbit-lab.org/oml/client_wrapper
> > --post-file <app-def.xml>'''
> >
> > In response to the <app-def>.xml file, the OML application service
> returns a
> > tar file containing: oml_<app-def>.h and liboml_<app-def>.a.
>
> This is normally extracted to a directory called build., However you do
> not need to do anything special to build the application
> Do the following:
> Check out iperf source from svn using
> svn co http://svn.orbit-lab.org/svn/orbit/iperf/tags/rel-1.0.0 iperf
> Run ./configure;make;
> This should build the application.
> Let me know how that works out. and I will update the documentation to get
> rid of the confusing instructions
>
>
> >
> > Which directory the oml_<app-def>.h and liboml_<app-def>.a exist?
> >
> >
> > Iperf is then compiled against this library.
> >
> > 1.4 Include header files and function calls in source code
> >
> > In the main method of Iperf (found in main.cpp),
> >
> >
> > ''#include "oml_orbit_winlab_iperf.h"''
> >
> > ''initialize_oml(&argc, argv, null)''
> >
> > In the file ReportDefault.c
> > ''oml_receiverport(msmt1, msmt2, msmt3)''
> >
> > Where exactly we put above new lines? Actually I have already found
> > '#include "oml_orbit_winlab_iperf.h"'' and ''initialize_oml(&argc, argv,
> > null)'' in main.cpp but I can't find ''oml_receiverport(msmt1, msmt2,
> > msmt3)''. I found
> > oml_receiverport(stats->transferID,tput,jitter,loss); in
> > ReportDefault.c
>
>
>
> msmt1, msmt2...etc is just an illustration, The actual measurement is the
> one that is in ReportDefault.c
>
> oml_receiverport(stats->transferID,tput,jitter,loss). I have fixed the
> wiki to avoid confusion
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20070215/4f2c8ad4/attachment.htm
More information about the orbit-user
mailing list