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

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Nov 18 10:14:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141118/7a85f4ec/attachment.sig>


More information about the Cygwin mailing list