From: John L. <mov...@us...> - 2002-06-17 20:39:00
|
Update of /cvsroot/oprofile/oprofile-www In directory usw-pr-cvs1:/tmp/cvs-serv21805 Modified Files: ChangeLog doc.php3 download.php3 end_page.php3 faq.php3 start_page.php3 style.css Log Message: css fixes and add a needed space for accesskey urls Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/ChangeLog,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- ChangeLog 5 Jun 2002 02:39:40 -0000 1.12 +++ ChangeLog 17 Jun 2002 20:38:49 -0000 1.13 @@ -1,3 +1,13 @@ +2002-06-17 John Levon <mo...@co...> + + * doc.php3: + * download.php3: + * style.css: fix computeroutput divs + + * style.css: fix link css + + * start_page.php3: fix accesskey urls + 2002-06-05 John Levon <mo...@co...> * faq.php3: add some FAQs Index: doc.php3 =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/doc.php3,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- doc.php3 26 May 2002 02:10:10 -0000 1.10 +++ doc.php3 17 Jun 2002 20:38:49 -0000 1.11 @@ -22,8 +22,8 @@ Start up the profiler : -<div class="listing"> -op_start --vmlinux=/path/to/vmlinux --map-file=/path/to/System.map --ctr0-event=CPU_CLK_UNHALTED --ctr0-count=300000 +<div class="computeroutput"> +<kbd>op_start --vmlinux=/path/to/vmlinux --map-file=/path/to/System.map --ctr0-event=CPU_CLK_UNHALTED --ctr0-count=300000</kbd> </div> For Athlon users, use <tt>RETIRED_INSNS</tt> as the event type instead, or one of the others listed by <tt>op_help</tt>. @@ -37,20 +37,20 @@ <li> Now let's generate a profile summary : -<div class="listing"> -oprofpp -l /path/to/mybinary +<div class="computeroutput"> +<kbd>oprofpp -l /path/to/mybinary</kbd> </div> Or, if we built our binary with <tt>-g</tt>, we can produce some annotated source : -<div class="listing"> -op_to_source --source-dir=/path/to/source --output-dir=/path/to/annotated-source /path/to/mybinary +<div class="computeroutput"> +<kbd>op_to_source --source-dir=/path/to/source --output-dir=/path/to/annotated-source /path/to/mybinary</kbd> </div> Or we can look at the rankings of the various system components as a whole : -<div class="listing"> -op_time -d +<div class="computeroutput"> +<kbd>op_time -d</kbd> </div> </li> Index: download.php3 =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/download.php3,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- download.php3 5 May 2002 00:35:18 -0000 1.12 +++ download.php3 17 Jun 2002 20:38:49 -0000 1.13 @@ -27,14 +27,15 @@ You can access the source via anonymous CVS : </p> -<div id="listing"> -export CVSROOT=":pserver:ano...@cv...:/cvsroot/oprofile"<br /> -cvs login<br /> +<div class="computeroutput"> +<kbd>export CVSROOT=":pserver:ano...@cv...:/cvsroot/oprofile"</kbd><br /> +<kbd>cvs login</kbd><br /> <br /> -cvs -z3 co oprofile<br /> +<kbd>cvs -z3 co oprofile</kbd><br /> </div> - +<p> There is no password (just press enter). +</p> <h3>CVS modules</h3> Index: end_page.php3 =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/end_page.php3,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- end_page.php3 26 May 2002 02:10:10 -0000 1.11 +++ end_page.php3 17 Jun 2002 20:38:49 -0000 1.12 @@ -6,12 +6,13 @@ $quotes[1]="<q>Measurement is a crucial component of performance improvement since reasoning and intuition are fallible guides and must be supplemented with tools like timing commands and profilers.</q> - The Practice of Programming, Brian W. Kernighan and Rob Pike"; $quotes[2]="<q>It is a capital mistake to theorise before one has data. Insensibly one begins to twist facts to suit theories instead of theories to suit facts.</q> - Sherlock Holmes"; $quotes[3]="<q>Premature optimization is the root of all evil.</q> - Tony Hoare"; -$quotes[4]="<q>More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity.</q> - W.A. Wulf"; +$quotes[4]="<q>More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity.</q> - W. A. Wulf"; $quotes[5]="<q>Rules of Optimization: Rule 1: Don't do it. Rule 2 (for experts only): Don't do it yet.</q> - M.A. Jackson"; $quotes[6]="<q>Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you've proven that's where the bottleneck is.</q> - Rob Pike"; $quotes[7]="<q>Speed, it seems to me, provides the one genuinely modern pleasure.</q> - Aldous Huxley"; +$quotes[8]="<q>Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.</q> - Larry Wall"; -$nr_quotes=8; +$nr_quotes=9; div("redrule"); Index: faq.php3 =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/faq.php3,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- faq.php3 5 Jun 2002 02:39:40 -0000 1.6 +++ faq.php3 17 Jun 2002 20:38:49 -0000 1.7 @@ -19,14 +19,14 @@ Try </p> -<div class="listing"> -op_time -d +<div class="computeroutput"> +<kbd>op_time -d</kbd> </div> or -<div class="listing"> -op_time -dnl +<div class="computeroutput"> +<kbd>op_time -dnl</kbd> </div> . Index: start_page.php3 =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/start_page.php3,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- start_page.php3 26 May 2002 02:10:10 -0000 1.17 +++ start_page.php3 17 Jun 2002 20:38:49 -0000 1.18 @@ -39,7 +39,7 @@ function href($link, $text = "", $key = "") { print("<a href=\"$link\""); if ($key != "") { - print("accesskey=\"$key\""); + print(" accesskey=\"$key\""); } print(">\n\n"); if ($text == "") { Index: style.css =================================================================== RCS file: /cvsroot/oprofile/oprofile-www/style.css,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- style.css 9 Mar 2002 17:00:46 -0000 1.23 +++ style.css 17 Jun 2002 20:38:49 -0000 1.24 @@ -14,33 +14,29 @@ background-color: transparent; } -a img { +:link img, :visited img { background: transparent; color: #ffffff; border: 0; } -a +:link { text-decoration: none; color: rgb(255,0,0); background: transparent; } -a:visited +:visited { + text-decoration: none; color: rgb(155,0,0); background: transparent; } -a:active +:link:hover, :visited:hover, :link:focus, :visited:focus { - color: rgb(255,0,0); - background: transparent; -} - -a:hover { - color: rgb(235,188,94); + color: #cc9977; background: transparent; } @@ -152,7 +148,7 @@ margin-left: 3em; } -div.listing { +div.computeroutput { padding-left: 1em; margin-top: 10px; margin-bottom: 10px; |