PHP - Manual: MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros
2024-11-13
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros — Returns the heartbeat's duration in microseconds
The heartbeat's duration is a calculated value that includes the time to send the message and receive the reply from the server.
此函数没有参数。
Returns the heartbeat's duration in microseconds.