bstr_object_enable_statistics(3) — Subroutines
Name
bstr_object_enable_statistics − Enables statistics collection for an object (VODB only).
Syntax
bstr_t_status bstr_object_enable_statistics (
bstr_t_reference ∗object
bstr_t_natural parameter,
bstr_t_rcb ∗control);
Description
The specified object starts collecting statistics. Statistics are set to their initial values.
Arguments
object
access: read
The reference to the object whose statistics collection is to be enabled.
parameter
access: read
Provides additional information on how you want BASEstar Open to collect statistics. The value of this argument depends on the class to which object belongs.
control
access: write
The address of the optional request control block.
Return Values
| BSTR_S_ABORTED | Operation aborted |
| BSTR_S_ALREADY_ENABLED | Already disabled |
| BSTR_S_BAD_PARAMETER | Bad parameter value |
| BSTR_S_BAD_REFERENCE | Bad reference |
| BSTR_S_COMMUNICATION_ERROR | Communication error |
| BSTR_S_COM_PC_SIZE_MISMATCH | Number of bytes requested does not match the number of bytes returned |
| BSTR_S_FINISH | Request aborted by bstr_finish |
| BSTR_S_INTERNAL_ERROR | Internal error |
| BSTR_S_INTR | Operation interrupted |
| BSTR_S_INVALID_OPERATION | Invalid operation |
| BSTR_S_INVALID_RCB | Invalid Request Control Block |
| BSTR_S_NORMAL | Normal successful completion |
| BSTR_S_NOT_INITIALIZED | BASEstar Open not initialized |
| BSTR_S_NO_MEMORY | Insufficient virtual memory |
| BSTR_S_SERVICES_NOT_AVAILABLE | Services not available |
| BSTR_S_TIMEOUT | Timeout expired |
| BSTR_S_TOO_MANY_REQUESTS | Too many pending requests |
See Also
| bstr_object_disable_statistics | # |
| bstr_object_get_statistics | # |
| bstr_object_reset_statistics | # |