function migrate_instrument_stop in Migrate 6.2
Same name and namespace in other branches
- 7.2 migrate.module \migrate_instrument_stop()
Stop measuring both memory and time consumption over a section of code.
Parameters
$name: The name of the measurement.
38 calls to migrate_instrument_stop()
- drush_migrate_wipe in ./
migrate.drush.inc - A drush command callback.
- MigrateDestinationComment::import in plugins/
destinations/ comment.inc - Import a single comment.
- MigrateDestinationNode::import in plugins/
destinations/ node.inc - Import a single node.
- MigrateDestinationNode::rollback in plugins/
destinations/ node.inc - Delete a node
- MigrateDestinationTable::rollback in plugins/
destinations/ table.inc - Delete a single row.
File
- ./
migrate.module, line 594
Code
function migrate_instrument_stop($name) {
global $_migrate_track_memory, $_migrate_track_timer;
if ($_migrate_track_timer) {
timer_stop($name);
}
if ($_migrate_track_memory) {
migrate_memory_stop($name);
}
}