Changes between Version 2 and Version 3 of GEC16Agenda/WiMAX-Tutorial/Coop/02
- Timestamp:
- 03/20/13 17:02:29 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC16Agenda/WiMAX-Tutorial/Coop/02
v2 v3 1 1 '''[wiki:GEC16Agenda/WiMAX-Tutorial/Coop/01 Previous]''' 2 2 3 == Instrumenting Coopshim == 3 == Instrumenting Coopshim with OML == 4 5 The coopshim application is written in Python. After verifying that it works, we used the instructions [https://pypi.python.org/pypi/oml4py/ oml4py] library homepage to instrument the script. We set up three ''measurement points'' (database tables) in the script: 6 7 * ''req'' - used to store information about requests between nodes 8 * ''recv'' - used to store information about recovered packets between nodes 9 * ''sent'' - used to store information about recovery packets sent from nodes 4 10 5 11 12 {{{ 13 #!python 14 #!/usr/bin/python 15 }}} 16 17 [[br]] 18 19 > Note: In addition to the [https://pypi.python.org/pypi/oml4py/ oml4py] module for Python, there is also the [http://rubydoc.info/gems/oml4r/ oml4r] gem for instrumenting Python applications, and a [https://mytestbed.net/projects/oml/wiki/Client_Programming C library] for C/C++ applications. There is also a [http://mytestbed.net/projects/oml/wiki/Description_of_Text_protocol text protocol] which can be used with any language. 20 21 [[br]] 6 22 7 23 '''[wiki:GEC16Agenda/WiMAX-Tutorial/Coop/03 Next]'''