You are here

function print_memory_usage in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/scripts/coder_upgrade.run.php \print_memory_usage()
1 call to print_memory_usage()
coder_upgrade.run.php in coder_upgrade/scripts/coder_upgrade.run.php

File

coder_upgrade/scripts/coder_upgrade.run.php, line 196

Code

function print_memory_usage($usage) {
  $text = 'Missing memory usage information';
  if (is_array($usage)) {
    $text = implode("\n", $usage);
  }
  coder_upgrade_path_print(coder_upgrade_path('memory'), $text);
}