You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2002/02/12 16:12:30 UTC
cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile Profilable.java Profiler.java
bloritsch 02/02/12 07:12:30
Modified: src/scratchpad/org/apache/avalon/excalibur/profile
Profilable.java Profiler.java
Log:
fix naming issue with Profilable
Revision Changes Path
1.4 +10 -0 jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile/Profilable.java
Index: Profilable.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile/Profilable.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Profilable.java 13 Dec 2001 21:56:01 -0000 1.3
+++ Profilable.java 12 Feb 2002 15:12:30 -0000 1.4
@@ -23,6 +23,16 @@
Profilable[] EMPTY_PROFILABLE_ARRAY = new Profilable[] {};
/**
+ * Gets the name of the Profileable class. Good names include what the
+ * expected samples are. For instance "ThreadController: number of threads"
+ * or "EventQueue: events processed per second". The real results come from
+ * the Profilable object itself, but the name is so humans have a reference
+ * for the values. This name also scopes the names supplied by the
+ * ProfilePoints.
+ */
+ String getName();
+
+ /**
* Obtain a reference to all the ProfilePoints that the Profilable
* object wishes to expose. All sampling is done directly through
* the ProfilePoints as opposed to the Profilable interface.
1.4 +1 -5 jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile/Profiler.java
Index: Profiler.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile/Profiler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Profiler.java 13 Dec 2001 20:42:37 -0000 1.3
+++ Profiler.java 12 Feb 2002 15:12:30 -0000 1.4
@@ -37,11 +37,7 @@
public interface Profiler
{
/**
- * Adds a target to profile, along with a name for the target. Good names
- * include what the expected samples are. For instance "ThreadController:
- * number of threads" or "EventQueue: events processed per second". The real
- * results come from the Profilable object itself, but the name is so humans
- * have a reference for the values. NOTE: if the Profilable class does
+ * Adds a target to profile. NOTE: if the Profilable class does
* not expose any ProfilePoints, it is excluded from the list of Profilable
* classes that are notified when the Profiler is active.
*
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>