array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.getdurationmicros.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getDurationMicros', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-commandfailedevent.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent', ), 'prev' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.getcommandname.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getCommandName', ), 'next' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.geterror.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getError', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getdurationmicros.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::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.