1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
<!-- --- BEGIN COPYRIGHT BLOCK ---
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Copyright (C) 2007 Red Hat, Inc.
All rights reserved.
--- END COPYRIGHT BLOCK --- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Display CRL</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT type="text/javascript" SRC="../helpfun.js"></SCRIPT>
<SCRIPT type="text/javascript">
<!--
if (navigator.appName == "Microsoft Internet Explorer") {
document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">');
}
//-->
</SCRIPT>
<CMS_TEMPLATE>
</head>
<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399">
<font face="PrimaSans BT, Verdana, sans-serif" size="+1">
Statistics
</font><br>
<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%">
<tr>
<td> </td>
</tr>
</table>
<br>
<SCRIPT type="text/javascript">
<!--
document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%">');
document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">');
document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">');
document.writeln('Detailed Information (Start Time <b>' + header.startTime + '</b>, Current Time: <b>' + header.curTime + '</b>)</font></td><td align=right><a href="getStats?op=clear">Clear Statistics</a></td></tr></table>');
document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">');
document.writeln('<tr>');
document.writeln('<td width="40%">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Action</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b># of operations</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Time Taken (in msec)</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Min</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Max</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Std Dev</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Avg</b></font></td>');
document.writeln('<td align="left">');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln('<b>Percentage</b></font></td>');
document.writeln('</tr>');
for (var i = 0; i <= recordCount; i++) {
if (result.recordSet[i].name.charAt(0) == '-') {
document.writeln('<tr><td>');
} else {
document.writeln('<tr bgcolor="#cccccc"><td>');
}
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln(result.recordSet[i].name + '</font></td>');
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln(result.recordSet[i].noOfOp+'</font></td>');
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
document.writeln(result.recordSet[i].timeTaken+'</font></td>');
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
if (result.recordSet[i].max == -1) {
document.writeln('-</font></td>');
} else {
document.writeln(result.recordSet[i].min+'</font></td>');
}
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
if (result.recordSet[i].max == -1) {
document.writeln('-</font></td>');
} else {
document.writeln(result.recordSet[i].max+'</font></td>');
}
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
if (result.recordSet[i].stddev == -1) {
document.writeln('-</font></td>');
} else {
document.writeln(result.recordSet[i].stddev+'</font></td>');
}
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
if (result.recordSet[i].noOfOp == 0) {
document.writeln('-');
} else {
document.writeln(Math.round(100*(result.recordSet[i].avg))/100);
}
document.writeln('</font></td>');
document.writeln('<td>');
document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">');
if (result.recordSet[i].noOfOp == 0) {
document.writeln('-');
} else {
document.writeln(Math.round(100*(result.recordSet[i].percentage))/100 + '%');
}
document.writeln('</font></td>');
document.writeln('</tr>');
}
document.writeln('</table><br>');
//-->
</SCRIPT>
</BODY>
</HTML>
|