aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

D profiler pane shows incomplete results #499

Closed mnembrini closed 10 years ago

mnembrini commented 10 years ago

Hi, I was trying to profile the D implementation on https://github.com/nsf/pnoise (file test.d) and the list in the "D profiler" pad was incomplete. You can see in the screenshot the pad on the bottom and the trace.log file open at the top, with 5 more functions ( nothrow @safe float test.Noise2DContext.get(float, float) etc) capture

Maybe something is off in the function parsing the trace.log file?

I'm running Xamarin Studio v. 5.0 build 878 and D addon 2.1.7 on windows 7 64 bits.

aBothe commented 10 years ago

Tbh I didn't touch any of the profiling stuff for a long time - I didn't even implement it on my own, but I'll have a look at it :)

aBothe commented 10 years ago

Could you pastebin me the trace.log?

mnembrini commented 10 years ago

http://pastebin.com/JtBbbX2c

aBothe commented 10 years ago

Anyway, the interpretation of the symbols could still be polished up a bit.

mnembrini commented 10 years ago

That fixed it for me, thanks!