This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin1.dll and cygstdc++-6.dll account for over 70% of application runtime cost
- From: Yucong Sun <sunyucong at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Nov 2014 20:07:44 -0800
- Subject: Re: cygwin1.dll and cygstdc++-6.dll account for over 70% of application runtime cost
- Authentication-results: sourceware.org; auth=none
- References: <546A96B9 dot 5060507 at web dot de> <546A9B74 dot 5020807 at web dot de>
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@web.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