Re: How expensive is a stub duplicate/release pair?
- From: Michael Meeks <michael ximian com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: orbit <orbit-list gnome org>
- Subject: Re: How expensive is a stub duplicate/release pair?
- Date: 17 Apr 2002 21:44:07 +0100
Hi Gergo,
On Tue, 2002-04-16 at 17:34, ERDI Gergo wrote:
> How expensive is it to do the following:
> dupl = CORBA_Object_duplicate (orig);
> CORBA_Object_release (dupl);
See ORBit2/src/orb/orb-core/corba-object.c, and orbit-object.c where
the ++, -- is done. If threading is enabled for the ORB it'll take a few
hundred cycles, otherwise it should take a few tens of cycles.
Regards,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]