dciInitialize
Returns
the versionLevel of the Performance Services, establishes a Data Capture
Interface (DCI) connection.
dciOpen
Opens a session and determines what classes
of metrics are to be returned via later dciGetdata calls. A 4-byte session
key is returned. For each class it marks what session key opened it, if
any. dciOpen loads the appropriate libraries
and/or Performance Server for the metrics chosen if they are not already
loaded.
dciGetData
Returns a buffer of data for a given session.
dciClose
Clears
the session entries for the inputted key. Unloads the appropriate provider-shared
libraries and/or Performance Server if this is the last session using the
metric.
dciTerminate
Terminates the Data Capture Interface connection.
dciFree
Returns
storage obtained by the Performance Services.
dciListClassId
Obtains metric class identifiers registered
in the metrics name space.
dciListInstanceId
Obtains a list of instance identifiers registered
in the metrics name space. Loads the appropriate libraries and/or Performance
Server for the metrics chosen.
dciGetClassAttributes
Obtains class attribute information from the
name space.
dciGetInstAttributes
Obtains metric instance attributes from the
name space. Loads the appropriate libraries and/or Performance Server for
the metrics chosen.
All entry and exits from the Consumers APIs have trace entry and exit points
using the major code of 158 and the minor code listed in the PS_TRCHKID.H
file.
The general functions from a provider point of view are:
dciInitialize
Returns
the VersionLevel of the Performance Services, establishes a DCI connection
and registers the metrics of the microkernel in the name space.
dciTerminate
Terminates the DCI connection.
dciRegister
Registers a list of metrics.
dciUnregister
Unregisters a list of metrics.
dciAddInstance
Adds an instance or a list of instances to a
metric.
dciRemoveInstance
Removes an instance or a list of instances from
a metric.
architected SPIs
Receive
requests from the Performance Services for information needed by consumers.
Provider metrics are registered in the name space.
All entry and exits from the Provider APIs have trace entry and exit points
using the major code of 158 and the minor code listed in the PS_TRCHKID.H
file.
[Back: Metrics Name Space]
[Next: Return Status and Structures]