*** empty log message ***

svn path=/trunk/boinc/; revision=8767
This commit is contained in:
David Anderson 2005-10-28 20:03:30 +00:00
parent 1c46742951
commit 35b45f4371
4 changed files with 165 additions and 2 deletions

24
doc/download_info.php Normal file
View File

@ -0,0 +1,24 @@
<?php
require_once("docutil.php");
page_head("Specialized download pages");
echo "
Some sites may want versions of the BOINC download page
that show only particular versions or platforms.
This can be done by adding parameters to the
http://boinc.berkeley.edu/download.php URL.
";
list_start();
list_item("dev=1", "Show versions that are still under test");
list_item("min_version=x", "Show no versions earlier than x");
list_item("max_version=x", "Show no versions later than x");
list_item("version=x", "Show version x");
list_item("platform=x", "Show versions for platform x (win/mac/linux/solaris)");
list_item("xml=1", "Show results as XML (other options are ignored).");
list_end();
echo "
For example:
<a href=http://boinc.berkeley.edu/download.php?min_version=5.0&dev=1>http://boinc.berkeley.edu/download.php?min_version=5.0&dev=1</a>
shows only versions 5.0 and later, include test versions.
";
page_tail();
?>

139
doc/stats_xml.php Normal file
View File

@ -0,0 +1,139 @@
<?php
require_once("docutil.php");
page_head("Statistics XML formats");
echo "
The following are proposed formats for project statistics data
to be distributed by aggregators.
<h2>Files</h2>
<h3>user_total_credit.xml</h3>
A list of top users, ordered by decreasing cross-project total credit.
Should include at least top 100 users.
";
echo html_text("
<users>
<nusers>100</nusers>
<time>1129844599</time> (when this file was generated)
<user>
<name>John Keck</name>
<total_credit>42698.813543</total_credit>
<expavg_credit>117348.653646</expavg_credit>
<cpid>283472938743489759837498347</cpid>
<project>
<name>SETI@home</name>
<url>http://setiathome.berkeley.edu</url>
<total_credit>2698.813543</total_credit>
<expavg_credit>17348.653646</expavg_credit>
</project>
... other projects
</user>
... other users
</users>
");
echo "
<h3>user_expavg_credit.xml</h3>
A list of top users, ordered by decreasing cross-project recent average credit.
Should include at least top 100 users.
Same format as above.
<h3>host_total_credit.xml</h3>
";
echo html_text("
<hosts>
<nhosts>100</nhosts>
<time>1129844599</time> (when this file was generated)
<host>
<total_credit>0.000000</total_credit>
<expavg_credit>0.000000</expavg_credit>
<p_vendor>GenuineIntel</p_vendor>
<p_model>Pentium</p_model>
<os_name>Windows XP</os_name>
<os_version>5.1</os_version>
<create_time>1040170006</create_time>
<timezone>28800</timezone>
<ncpus>2</ncpus>
<p_fpops>45724737.082762</p_fpops>
<p_iops>43233895.373973</p_iops>
<p_membw>4032258.064516</p_membw>
<m_nbytes>670478336.000000</m_nbytes>
<m_cache>1000000.000000</m_cache>
<m_swap>1638260736.000000</m_swap>
<d_total>9088008192.000000</d_total>
<d_free>3788505088.000000</d_free>
<n_bwup>24109.794088</n_bwup>
<n_bwdown>57037.049858</n_bwdown>
<host_cpid>xxxxx</host_cpid>
<user_cpid>xxxxx</user_cpid>
<project>
<name>SETI@home</name>
<url>http://setiathome.berkeley.edu</url>
<total_credit>2698.813543</total_credit>
<expavg_credit>17348.653646</expavg_credit>
</project>
... other projects
</host>
... other hosts
</hosts>
");
echo "
<h3>host_expavg_credit.xml</h3>
<p>
Same, ordered by decreasing recent average credit.
<h2>Web RPCs</h2>
<h3>get_user.php?cpid=xxxxx</h3>
<p>
";
echo html_text("
<user>
<name>John Keck</name>
<total_credit>42698.813543</total_credit>
<expavg_credit>117348.653646</expavg_credit>
<cpid>283472938743489759837498347</cpid>
<project>
<name>SETI@home</name>
<url>http://setiathome.berkeley.edu</url>
<total_credit>2698.813543</total_credit>
<expavg_credit>17348.653646</expavg_credit>
</project>
... other projects
</user>
");
echo "
<h3>get_host.php?cpid=xxxxx</h3>
";
echo html_text("
<host>
<total_credit>0.000000</total_credit>
<expavg_credit>0.000000</expavg_credit>
<p_vendor>GenuineIntel</p_vendor>
<p_model>Pentium</p_model>
<os_name>Windows XP</os_name>
<os_version>5.1</os_version>
<create_time>1040170006</create_time>
<timezone>28800</timezone>
<ncpus>2</ncpus>
<p_fpops>45724737.082762</p_fpops>
<p_iops>43233895.373973</p_iops>
<p_membw>4032258.064516</p_membw>
<m_nbytes>670478336.000000</m_nbytes>
<m_cache>1000000.000000</m_cache>
<m_swap>1638260736.000000</m_swap>
<d_total>9088008192.000000</d_total>
<d_free>3788505088.000000</d_free>
<n_bwup>24109.794088</n_bwup>
<n_bwdown>57037.049858</n_bwdown>
<host_cpid>xxxxx</host_cpid>
<user_cpid>xxxxx</user_cpid>
<project>
<name>SETI@home</name>
<url>http://setiathome.berkeley.edu</url>
<total_credit>2698.813543</total_credit>
<expavg_credit>17348.653646</expavg_credit>
</project>
... other projects
</host>
");
echo "
";
page_tail();
?>

View File

@ -207,7 +207,7 @@ $m443c = array(
);
$m443s = array(
"num"=>"4.43 (4)",
"num"=>"4.43.4",
"status"=>"Recommended version (simple GUI)",
"file"=>"boinc_menubar_v4.43_(4)_mac.zip",
"date"=>"23 May 2005",

View File

@ -25,7 +25,7 @@ if (parse_bool($config, "disable_account_creation")) {
exit();
}
echo "<p>
<b>.tr(CREATE_AC_USE_CLIENT)."</b>
<b>".tr(CREATE_AC_USE_CLIENT)."</b>
";
echo "
<p>