X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=PVMxCVM 0TNIzZM9VBWo6m2NPZ7oRdTnbJRyo3m8Tio8TCi3SDf3tGouiIpHtChzsey8Mznr 1Eh5X7CWVWP9VePgcf25OWsRDZxzMuuhAQF8dZrlJtqn41oca2WGqrSTqefo2ClE uu5onq6qLWtlm5zUAko6Uph/dDq2Xo6bDk+A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=aT3V91Xn4MX2s 1HOm1R39t8GL4c=; b=Y6LjOiyIO1yTX51oZHDfujIkmGelDUO/75BP+poGpnlnn 3/sVQMrcIY3fwJVAY7Qc3PPGj/iqwVpSXbUrNaY6MxuWOjCeSvc0WNhLhHrOsQai nbsr22klmA9bWsX66p45FwWAf7Y5dhK4o6BldgPjWoZW1ZvboDWFOB1IgQtzRk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f182.google.com X-Received: by 10.221.29.134 with SMTP id ry6mr29605087vcb.26.1416283694993; Mon, 17 Nov 2014 20:08:14 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <546A9B74.5020807@web.de> References: <546A96B9 DOT 5060507 AT web DOT de> <546A9B74 DOT 5020807 AT web DOT de> From: Yucong Sun Date: Mon, 17 Nov 2014 20:07:44 -0800 Message-ID: Subject: Re: cygwin1.dll and cygstdc++-6.dll account for over 70% of application runtime cost To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Just a guess : http://linux.die.net/man/2/shmat Maybe your code needs to optimize around memory abit. On Mon, Nov 17, 2014 at 5:05 PM, Olumide <50295 AT web DOT de> wrote: > > On 18/11/2014 00:45, Olumide wrote: >> >> According to the AMD CodeXL profiler, the modules cygwin1.dll and >> cygstdc++-6.dll account for 65.67% and 5.13% respectively of the runtime >> of my code. The breakdown is shown below: > > > Reposting breakdown (hopefully will be less mangled this time) > > Function Module Timer samples Timer samples percent > shmat cygwin1.dll 36357 37.7186 > ZN4muto7releaseEP7_cygtls cygwin1.dll 19539 20.2708 > ZN4muto7acquireEm cygwin1.dll 16843 17.4738 > memmove cygwin1.dll 7906 8.2021 > operator new(unsigned int) cygstdc++-6.dll 6470 6.71231 > dlfree cygwin1.dll 3350 3.47546 > dlmalloc cygwin1.dll 2519 2.61334 > malloc cygwin1.dll 1159 1.20241 > free cygwin1.dll 799 0.828924 > _gcclibcxx_demangle_callback cygstdc++-6.dll 277 0.287374 > __wrap__ZdlPv cygwin1.dll 260 0.269738 > __wrap__Znwj cygwin1.dll 239 0.247951 > operator delete(void*) cygstdc++-6.dll 236 0.244839 > malloc cygwin1.dll 216 0.22409 > free cygwin1.dll 213 0.220977 > tmalloc_small(malloc_state*,..) cygwin1.dll 7 0.00726216 > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple