avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/profile Profilable.java Profiler.java
Date Tue, 12 Feb 2002 15:12:30 GMT
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:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message