blog: Overlooked Essentials for Optimizing Code
Sean Kelly
sean at invisibleduck.org
Sat Sep 11 10:06:26 PDT 2010
Bane Wrote:
> Sean Kelly Wrote:
>
> > Bane Wrote:
> >
> > > Sean Kelly Wrote:
> > >
> > > > == Quote from Bane (branimir.milosavljevic at gmail.com)'s article
> > > > > DMD built in profiler don't work yet with multithreaded apps. Is there a plan to change that or.. ?
> > > >
> > > > Yes. It's on my "to do" list, but other things have had priority.
> > >
> > > Thanks for reply. Can I help with something? I don't have mush experience with that, though.
> >
> > I tried a quick adaption a while back and failed... the code uses globals directly within functions sometimes and not others, etc. It's really going to take a substantial rewrite to get things right. The basic idea is that each thread will keep its own data and merge it into a collective dataset on termination.
>
> I'll dig the dmd code to see whats going on, but my love for c is bit rusty... Thanx.
The code is in druntime. src/rt/trace.d, I believe.
More information about the Digitalmars-d
mailing list