From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 625D9469719 for ; Wed, 7 Oct 2020 09:08:21 +0300 (MSK) Date: Wed, 7 Oct 2020 08:57:44 +0300 From: Igor Munkin Message-ID: <20201007055744.GO18920@tarantool.org> References: <87bf84f266e16cd9401394c8276b1cd97f91a82d.1601878708.git.skaplun@tarantool.org> <20201006221721.GN18920@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201006221721.GN18920@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v4 2/2] misc: add C and Lua API for platform metrics List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Sorry, I forgot to finish the sentence below. On 07.10.20, Igor Munkin wrote: > Sergey, > > > + size_t strhash_hit; > > + /* Strings amount allocated and put into string hash. */ > > Well, does it mean this metric has the same value as gc_strnum? > Not indeed. This is a number of the strings This is a total number of the strings being allocated: if the string 'qq' is created, collected later and created again, this metric is incremented twice. At the same time the value below just shows the amount of allocated strings at the moment. > > > + size_t strhash_miss; > > + > > -- > Best regards, > IM -- Best regards, IM