Application Wrappers
When an OML-enabled application is run using OMF, the application itself is installed on the resource and a simple OMF application wrapper is installed on the console where the OMF Experiment Controller runs. This wrapper just gives some basic information about the application, the parameters that can be passed at the command line, and the OML measurement points that have been defined in the application.
Here's the wrapper for the OML-ized coopshim:
defApplication('coopshim', 'coopshim') do |a| a.path = "/usr/bin/coopshim" a.shortDescription = "Runs CoopShim Shim" a.description = <<TEXT This is a wrapper around the CoopShim experiment TEXT a.defProperty("queue-length", "Number of packets to buffer", "q", {:type => :string, :dynamic => false}) # The Measurement Points for this application: a.defMeasurement('req') do |m| m.defMetric('id',:long) m.defMetric('total',:long) end a.defMeasurement('recv') do |m| m.defMetric('id',:long) m.defMetric('total',:long) m.defMetric('source', :string) end a.defMeasurement('sent') do |m| m.defMetric('id',:long) m.defMetric('total',:string) m.defMetric('dest', :string) end end
Last modified 11 years ago
Last modified on 03/20/13 17:04:44