Page tree
Skip to end of metadata
Go to start of metadata

LightWave Client supports several 'user defined' MEASURE counters which you can use to help analyze performance of your LightWave Client application. Each counter is an array counter in which each element of the array corresponds to an operation within the API that LightWave Client is current supporting. For example, the nth index of the LWC-CALL-COUNT counter corresponds to the nth index of the API operation array. To display the API operations and their indexes, use the LWCCOM utility.

The available MEASURE counter names and types are shown below.


Counter NameTypeDescription
lwc-call-countaccum,arrayThe number of API calls.
lwc-connectqbusy, arrayThe amount of time spent connecting to the remote API endpoint.
lwc-serializeqbusy, arrayThe amount of time spent serializing the API request (converting the structured IPM to JSON format).
lwc-signqbusy, arrayThe amount of time spent signing the API request, when required.
lwc-requestqbusy, arrayThe amount of time spent sending the request to the remote API endpoint.
lwc-responseqbusy, arrayThe amount of time spent receiving the response from the remote API endpoint.
lwc-deserializeqbusy, arrayThe amount of time spent de-serializing the API response (converting the JSON formatted message to the structured IPM format).
lwc-totalqbusy, arrayThe total amount of time spent processing the request and response. This value may not exactly match the sum of the other busy counters due to some miscellaneous processing not measured by the other counters. Note that the total time does not account for time spent waiting for the remote API service endpoint to respond.


When adding counters to your measurement, be sure to specify arrays that are at least as large as the number of operations (paths/methods) in the API, otherwise some operations will not be measured.
> VOLUME <lwc-installation-subvolume>
> MEASCOM

+ add userdef CLIENT

== where ARRAY 10, for example, represents the number of 
== operations in the API in use; each one has its own count 

+ add counter lwc-call-count, process client, accum, array 10
+ add counter lwc-connect, process client, qbusy, array 10
+ add counter lwc-serialize, process client, qbusy, array 10
+ add counter lwc-sign, process client, qbusy, array 10
+ add counter lwc-request, process client, qbusy, array 10
+ add counter lwc-response, process client, qbusy, array 10
+ add counter lwc-deserialize, process client, qbusy, array 10
+ add counter lwc-total, process client, qbusy, array 10

+ start measurement LWCMEAS
== run your application
+ stop measurement LWCMEAS

+ list userdef *, rate off

These MEASURE counters may differ from values recorded in diagnostic logs. The diagnostic log measures elapsed time whereas the MEASURE counters represent actual work time.
  • No labels


LightWave Client 1.1.1