PHP - Manual: MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros
2024-11-14
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros — Returns the command's duration in microseconds
The command's duration is a calculated value that includes the time to send the message and receive the reply from the server.
此函数没有参数。
Returns the command's duration in microseconds.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandsucceededevent.getdurationmicros.php