This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin1.dll and cygstdc++-6.dll account for over 70% of application runtime cost


On Nov 18 01:05, Olumide 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

You may have better results using the POSIX shared memory functions
shm_open, mmap, shm_unlink, rather than the XSI functions.  The XSI
funcs require communication with the cygserver daemon, the POSIX
functions don't.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpZ6PliZIEuT.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]