Hi,
Well what I meant by Stub level is to log time info in the user
written client main program.
ws-axis/c/docs/antbuild-guide.html#EnablingTraceAndDebug has
info on how to build with trace.
However, as of now there is no separate doc on trace utility.
You could have a look into ws-axis\c\src\common\AxisTrace.h as a
starting point for getting some idea on trace.
Thanks,
Samisa...
-----Original Message-----
From: bhanu prakash [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 9:56 AM
To: Apache AXIS C Developers List
Subject: Re: Log times
Hi Samisa,
Thanks for replying. How can I use the trace utility
in AXIS C++ and also what do you mean by measure at
stub level. We are trying to improve the serializers.
But now I am checking the times taken for
serailization and deserialization etc without any
improvements.
--- Samisa Abeysinghe <[EMAIL PROTECTED]>
wrote:
> Well one more thought, to keep things simple, you
> can measure time at
> stub level, doing one change at a time, one without
> the improvement
> and one with the improvement.
> This would be a simpler approach to start with
>
> Thanks,
> Samisa...
>
>
> On Mon, 28 Mar 2005 01:45:50 +0000, Samisa
> Abeysinghe
> <[EMAIL PROTECTED]> wrote:
> > Hi Bhanu,
> > I too do not think it is a very good idea to
> put permanant code
> > just to measure performance.
> > One of the solutions would be to incoporate
> time information with
> > the trace utility - where in addition to
> enter/exit traces, it could
> > also include times (enter time/exit time)
> >
> > BTW, do you just want to measure timings, or
> do you want to
> > improve serializer and want to see if the
> improvements have an impact
> > on performance?
> > I case you want to really improve the
> serializer, whay not discuss
> > the improvements over this mailing list?
> >
> > Thanks,
> > Samisa...
> >
> > On Sun, 27 Mar 2005 11:02:44 -0800 (PST), bhanu
> prakash
> > <[EMAIL PROTECTED]> wrote:
> > > Hi John,
> > >
> > > We want to modify the serializers and see if it
> is
> > > improving any performance. So, I want to measure
> the
> > > time it takes for serialization, deserialization
> and
> > > handlers. Can you help?
> > >
> > > Thanks,
> > > Bhanu
> > >
> > > --- John Hawkins <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hello Bhanu,
> > > >
> > > > I'm extremely concerned that you are putting
> > > > performance information into
> > > > the code on a permanent basis - why do you
> need
> > > > this?
> > > >
> > > > John,
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > bhanu prakash <[EMAIL PROTECTED]>
> > > > 26/03/2005 05:45
> > > > Please respond to
> > > > "Apache AXIS C Developers List"
> > > >
> > > >
> > > > To
> > > > Apache AXIS C Developers List
> > > > <[email protected]>
> > > > cc
> > > >
> > > > Subject
> > > > Re: Log times
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I have modified clientaxisengine.cpp such that
> it
> > > > writes these logging time info into a text
> file. and
> > > > I
> > > > have installed AXIS as explained in install
> guide. I
> > > > am able to run the sample clients but it is
> not
> > > > writing any logging info into the text file
> that I
> > > > created. I am also attaching
> clientaxisengine.cpp
> > > > with
> > > > my changes.
> > > >
> > > > Any Ideas?
> > > >
> > > > Thanks,
> > > > Bhanu
> > > > --- bhanu prakash <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > >
> > > > > I am trying to find the time taken for
> > > > > serialization,
> > > > > deserialization and handlers on both client
> and
> > > > > server. For this, Is it enough if we modify
> > > > > clientaxisengine.cpp and
> serveraxisengine.cpp
> > > > files?
> > > > > If not, Can you let me know what other files
> needs
> > > > > modification.
> > > > >
> > > > > Thanks,
> > > > > Bhanu
> > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! Small Business - Try our new
> resources
> > > > site!
> > > > > http://smallbusiness.yahoo.com/resources/
> > > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Small Business - Try our new resources
> site!
> > > > http://smallbusiness.yahoo.com/resources/ /*
> -*- C++
> > > > -*- */
> > > > /*
> > > > * Copyright 2003-2004 The Apache Software
> > > > Foundation.
> > > > *
> > > > * Licensed under the Apache License,
> Version 2.0
> > > > (the "License");
> > > > * you may not use this file except in
> compliance
> > > > with the License.
> > > > * You may obtain a copy of the License at
> > > > *
> > > > *
> http://www.apache.org/licenses/LICENSE-2.0
> > > > *
> > > > * Unless required by applicable law or
> agreed to
> > > > in writing, software
> > > > * distributed under the License is
> distributed on
> > > > an "AS IS" BASIS,
> > > > * WITHOUT WARRANTIES OR CONDITIONS OF ANY
> KIND,
> > > > either express or
> > > > implied.
> > > > * See the License for the specific language
> > > > governing permissions and
> > > > * limitations under the License.
> > > > */
> > > >
> > > > /*
> > > > * Revision 1.1 2004/08/26 roshan
> > > > * Added the method "releaseHandlers(string
> > > > sSessionId)" in order to
> > > > release the
> > > > * Handlers once they are used.
> > > > */
> > > >
> > > >
> > > > #include "ClientAxisEngine.h"
> > > > #include "../../wsdd/WSDDDeployment.h"
> > > > #include "../HandlerPool.h"
> > > > #include <axis/AxisException.hpp>
> > > > #include "../../common/AxisTrace.h"
> > > >
> > > > extern AXIS_CPP_NAMESPACE_PREFIX
> WSDDDeployment*
> > > > g_pWSDDDeployment;
> > > > extern AXIS_CPP_NAMESPACE_PREFIX HandlerPool*
> > > > g_pHandlerPool;
> > > >
> > > >
> > > >
> > >
>
/*******Bhanu***********************************************************
*****/
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250