[Compbench-web-devel] compbenchmarks-web/cgi-bin doc.cgi, 1.34, 1.35
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2006-12-12 18:36:06
|
Update of /cvsroot/compbench/compbenchmarks-web/cgi-bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13293 Modified Files: doc.cgi Log Message: New "Introduction" topic in packages' tab. Index: doc.cgi =================================================================== RCS file: /cvsroot/compbench/compbenchmarks-web/cgi-bin/doc.cgi,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** doc.cgi 4 Dec 2006 19:33:03 -0000 1.34 --- doc.cgi 12 Dec 2006 18:35:56 -0000 1.35 *************** *** 49,52 **** --- 49,66 ---- my @current; + if ($topic eq 'Introduction') { + print "<p><i>compbenchmarks</i>, through its <a href='/cgi-bin/doc.cgi?tab=package&topic=arch#arch-lib'>underlaying library</a>, provides a common interface to handle (download, patch, configure, compile and evaluate) some third party packages.</p>"; + print "<p>In this context, each package brings some benchmarks that are either natives, like Whetstone and so on, or that have been introduced by <i>compbenchmarks</i> (e.g. for gzip). Here's the list of the packages currently supported :</p>"; + print "<ul>"; + foreach(@benchmarks_list) { + if ($_ eq 'Introduction') { + next; + } + print "<li><a href='/cgi-bin/doc.cgi?tab=benchs&topic=$_'>$_</a></li>"; + } + print "</ul>"; + return; + } + print "<p>This page shows information about <b>$topic</b> package, which can be used through <a href='/cgi-bin/doc.cgi?tab=package'>compbenchmarks program</a> to produce benchmarks.</p>"; *************** *** 93,98 **** config_read("../etc/compbenchmarks-web.conf"); $dbh=sql_connect(); ! @benchmarks_list = sql_select_array($dbh, $LT_GCC_BENCH_PACKAGE, "name", "order by name"); my %benchmarks_topics; --- 107,119 ---- config_read("../etc/compbenchmarks-web.conf"); $dbh=sql_connect(); ! ! my @benchmarks_list_dum = sql_select_array($dbh, $LT_GCC_BENCH_PACKAGE, "name", "order by name"); + push(@benchmarks_list, "Introduction"); + foreach(@benchmarks_list_dum) { + push(@benchmarks_list, + $_); + } + my %benchmarks_topics; *************** *** 153,159 **** <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'></a><h3>compbenchmarks-core program</h3> ! <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by user interfaces)</p>"; print "<a name='arch-lib'></a><h3>libcompbenchmarks</h3> ! <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic frameworks to install and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; html_tip("The <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a> presents all concepts, as well as API."); --- 174,180 ---- <p>At this time only <a href='/cgi-bin/doc.cgi?tab=package&topic=perl-ui'>compbenchmarks-ui-perl</a>, which uses dialog (ncurses) is working. It can be used to do classic operations, such as configuring, managing, and runing benchmarks.</p>"; print "<a name='arch-core'></a><h3>compbenchmarks-core program</h3> ! <p>This binary program supports all actions providen by the underlaying library. It may be needed for <a href='/cgi-bin/doc.cgi?tab=package&topic=usage'>advanced usages</a> (e.g. for writting a wrapper to evaluate benchmarks in a specific maner, not handled by providen user interfaces)</p>"; print "<a name='arch-lib'></a><h3>libcompbenchmarks</h3> ! <p>This is the underlaying library for the <i>compbenchmarks</i> package. It holds generic methods to download packages, basic framework to install, optionally patch and configure them, etc. If you are interested in how to use it in your own program or if you want to make a new benchmark/package supported, you'll need to use it.</p>"; html_tip("The <a href='http://sourceforge.net/project/showfiles.php?group_id=150828&package_id=204979'>technical documention</a> presents all concepts, as well as API."); |