" . link_results("$ntotal results", $urlquery, '', '') . " | ";
echo "" . link_results("'Over' results", $urlquery, "server_state=5", '') . " | ";
echo "" . link_results("'Success' results", $urlquery, "outcome=1", '') . " | ";
echo "" . link_results("'Client error' results", $urlquery, "outcome=3", '') . " | ";
echo "||||||||||
| ";
echo "
| ";
echo "
| ";
echo "
| ";
echo "
".htmlspecialchars($app_version->xml_doc).""); row("Min_core_version", $app_version->min_core_version); row("Max_core_version", $app_version->max_core_version); row("Message", $app_version->message); row("Deprecated", $app_version->deprecated); end_table(); } function app_version_short_header() { echo "
".htmlspecialchars($wu->xml_doc).""); row("Application", "appid>" . app_name_by_id($wu->appid) . ""); row("Batch", $wu->batch); row("Estimated FP Operations", $wu->rsc_fpops_est); row("Max FP Operations", $wu->rsc_fpops_bound); row("Max Memory Usage", $wu->rsc_memory_bound); row("Max Disk Usage", $wu->rsc_disk_bound); row("Need validate?", $wu->need_validate?"yes":"no"); row("Canonical resultid", "canonical_resultid>".$wu->canonical_resultid.""); row("Canonical credit", $wu->canonical_credit); row("Timeout check time", time_str($wu->timeout_check_time)); row("Delay bound", $wu->delay_bound); row("Error mask", wu_error_mask_str($wu->error_mask)); row("File delete state", file_delete_state_str($wu->file_delete_state)); row("Assimilation state", assimilate_state_str($wu->assimilate_state)); // row("","id&detail=low>Show associated results"); row("min quorum", $wu->min_quorum); row("max error results", $wu->max_error_results); row("max total results", $wu->max_total_results); row("max success results", $wu->max_success_results); row("","Grep logs"); row("result template", "
".htmlspecialchars($wu->result_template).""); end_table(); $_GET = array('workunitid' => $wu->id); show_result_summary(); echo "
"; } function workunit_short_header() { echo "
".htmlspecialchars($result->xml_doc_in).""); row("XML doc out", "
".htmlspecialchars($result->xml_doc_out).""); row("stderr out", "
".htmlspecialchars($result->stderr_out).""); row("Batch", $result->batch); row("File delete state", file_delete_state_str($result->file_delete_state)); row("Validate state", validate_state_str($result->validate_state)); row("claimed credit", $result->claimed_credit); row("Granted credit", $result->granted_credit); row("Client version", $result->app_version_num); row("Random",$result->random); row("","Grep logs"); end_table(); echo "
"; } function result_short_header() { echo "
" . htmlspecialchars($team->name_html) . "" ); row("Url", "url>" . $team->url . ""); row("Type", team_type_string($team->type)); row("Description", $team->description); row("", "id>List All Members"); end_table(); } function team_name_by_id($teamid) { $result = mysql_query("select * from team where id = $teamid"); $team = mysql_fetch_object($result); return $team->name; } function user_name_by_id($user_id) { $result = mysql_query("select * from user where id = $user_id"); $user = mysql_fetch_object($result); return $user->name; } function app_name_by_id($appid) { $result = mysql_query("select * from app where id = $appid"); $app = mysql_fetch_object($result); return $app->name; } function wu_name_by_id($workunitid) { $result = mysql_query("select * from workunit where id = $workunitid"); $wu = mysql_fetch_object($result); return $wu->name; } function platform_name_by_id($platformid) { $result = mysql_query("select * from platform where id = $platformid"); $plat = mysql_fetch_object($result); return $plat->name; } function host_name_by_id($hostid) { $result = mysql_query("select * from host where id = $hostid"); $host = mysql_fetch_object($result); if (!strlen($host->domain_name) && !strlen($host->last_ip_addr)) { return "(blank)"; } else { return $host->domain_name . " (" . $host->last_ip_addr . ")"; } } ?>