ASF Bugzilla – Attachment 23630 Details for
Bug 47176
Monitor Results : improve load status graphic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposal patch to improve graphic of load monitor
patch_load_monitor.txt (text/plain), 4.09 KB, created by
Milamber
on 2009-05-09 06:10:19 UTC
(
hide
)
Description:
Proposal patch to improve graphic of load monitor
Filename:
MIME Type:
Creator:
Milamber
Created:
2009-05-09 06:10:19 UTC
Size:
4.09 KB
patch
obsolete
>Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-legend.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-0.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream > >Property changes on: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-0.gif >___________________________________________________________________ >Name: svn:mime-type > + application/octet-stream > >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-1.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-10.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-2.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-3.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-4.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-5.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-6.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-7.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-8.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/core/org/apache/jmeter/images/monitor-load-9.gif >=================================================================== >Cannot display: file marked as a binary type. >svn:mime-type = application/octet-stream >Index: /Workspaces-JMeter/Jmeter/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java >=================================================================== >--- /Workspaces-JMeter/Jmeter/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java (revision 773217) >+++ /Workspaces-JMeter/Jmeter/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java (working copy) >@@ -60,6 +60,8 @@ > /** > * Load Icons > */ >+ public static final ImageIcon LOAD_0 = JMeterUtils.getImage("monitor-load-0.gif"); >+ > public static final ImageIcon LOAD_1 = JMeterUtils.getImage("monitor-load-1.gif"); > > public static final ImageIcon LOAD_2 = JMeterUtils.getImage("monitor-load-2.gif"); >@@ -150,7 +152,9 @@ > * @return image for the load > */ > public static ImageIcon getLoadImageIcon(int load) { >- if (load <= 10) { >+ if (load == 0) { >+ return LOAD_0; >+ } else if (load > 0 && load <= 10) { > return LOAD_1; > } else if (load > 10 && load <= 20) { > return LOAD_2; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47176
: 23630 |
23631
|
23632
|
23633