grpc_get_info_np
- Returns session information.
grpc_error_t grpc_get_info_np(grpc_sessionid_t session_id,
grpc_exec_info_t_np *info,
int *status)
grpc_sessionid_t session_id
grpc_exec_info_t_np *info
int *status
typedef struct grpc_exec_info_s_np { struct { /* Measured by the remote method */ /* Real time of the time concerning argument transmission */ struct timeval transferArgumentRealTime; /* CPU time of the time concerning argument transmission */ struct timeval transferArgumentCpuTime; /* Real time of Calculation time of executable */ struct timeval calculationRealTime; /* CPU time of Calculation time of executable */ struct timeval calculationCpuTime; /* Real time of the time concerning transmitting a result */ struct timeval transferResultRealTime; /* CPU time of the time concerning transmitting a result */ struct timeval transferResultCpuTime; /* Real time of the time concerning argument transmission of callback */ struct timeval callbackTransferArgumentRealTime; /* CPU time of the time concerning argument transmission of callback */ struct timeval callbackTransferArgumentCpuTime; /* Real time of time concerning callback */ struct timeval callbackCalculationRealTime; /* CPU time of time concerning callback */ struct timeval callbackCalculationCpuTime; /* Real time of the time concerning transmitting a result of callback */ struct timeval callbackTransferResultRealTime; /* CPU time of the time concerning transmitting a result of callback */ struct timeval callbackTransferResultCpuTime; } gei_measureExecutable; struct { /* Measured by the client */ /* Real time of the time concerning request remote machine information */ struct timeval remoteMachineInfoRequestRealTime; /* CPU time of the time concerning request remote machine information */ struct timeval remoteMachineInfoRequestCpuTime; /* Real time of the time concerning request remote class information */ struct timeval remoteClassInfoRequestRealTime; /* CPU time of the time concerning request remote class information */ struct timeval remoteClassInfoRequestCpuTime; /* Real time of the time concerning invoke GRAM */ struct timeval gramInvokeRealTime; /* CPU time of the time concerning invoke GRAM */ struct timeval gramInvokeCpuTime; /* Real time of the time concerning argument transmission */ struct timeval transferArgumentRealTime; /* CPU time of the time concerning argument transmission */ struct timeval transferArgumentCpuTime; /* Real time of Calculation time of client */ struct timeval calculationRealTime; /* CPU time of Calculation time of client */ struct timeval calculationCpuTime; /* Real time of the time concerning transmitting a result */ struct timeval transferResultRealTime; /* CPU time of the time concerning transmitting a result */ struct timeval transferResultCpuTime; /* Real time of the time concerning argument transmission of callback */ struct timeval callbackTransferArgumentRealTime; /* CPU time of the time concerning argument transmission of callback */ struct timeval callbackTransferArgumentCpuTime; /* Real time of time concerning calculation of callback */ struct timeval callbackCalculationRealTime; /* CPU time of time concerning calculation of callback */ struct timeval callbackCalculationCpuTime; /* Real time of the time concerning transmitting a result of callback */ struct timeval callbackTransferResultRealTime; /* CPU time of the time concerning transmitting a result of callback */ struct timeval callbackTransferResultCpuTime; } gei_measureClient; } grpc_exec_info_t_np;
This function is MT-safe.
GRPC_NOT_INITIALIZED
GRPC_INVALID_SESSION_ID
GRPC_OTHER_ERROR_CODE