Log in or register to vote.

Arm4

Application Response Measurement (ARM) Version 4.0

Python language bindings for the Application Response Measurement (ARM) Version 4.0 standard.

This module provides a Python language implementation of the ARM 4.0
standard. At it's simplest, it's a straight exposure of the C language
bindings with enough concessions to make it fit the Python language.

Usage:

import arm4

# Register
app_id = arm4.register_application ("Python test")
tran_id = arm4.register_transaction (app_id, "Python hello world")

# Start our application and transaction measurements
app_handle = arm4.start_application (app_id, "Example")
tran_handle = arm4.start_transaction (app_handle, tran_id)

# Do our work
print 'Hello, world!'

# Stop our measurements
arm4.stop_transaction (tran_handle) # Default status is arm4.ARM_STATUS_GOOD
arm4 ...

+1