You are here

function xmlsitemap_batch_timer_start in XML sitemap 6.2

Batch callback; start the timer.

2 string references to 'xmlsitemap_batch_timer_start'
xmlsitemap_rebuild_batch in ./xmlsitemap.generate.inc
Batch information callback for rebuilding the sitemap data.
xmlsitemap_regenerate_batch in ./xmlsitemap.generate.inc
Batch information callback for regenerating the sitemap files.

File

./xmlsitemap.generate.inc, line 438
Sitemap generation and rebuilding functions for the xmlsitemap module.

Code

function xmlsitemap_batch_timer_start(array &$context) {
  if (!isset($context['results']['start'])) {
    $context['results']['start'] = microtime(TRUE);
  }
}