VerySleepy / verysleepy

Very Sleepy, a sampling CPU profiler for Windows
http://www.codersnotes.com/sleepy
GNU General Public License v2.0
1.05k stars 103 forks source link

Space missing in export to callgrind #80

Closed LHolten closed 3 years ago

LHolten commented 3 years ago

Profiling gives me these times: profile

But when I export as callgrind I get a file with these times

139 409381910
140 95989644778
141 2096919782
142 113953053157
144 1667677779
145 146053668132
146 2663961124269
147 41199119219
148 72730633928
154 9455466441082
155 192441989771

By comparing with the picture of the times in very sleepy I conclude that some values (or all values) are off by different powers of 10.

For example compare the lines 154 and 155, in very sleepy these are of the same order, but not in the exported file.

LHolten commented 3 years ago

@schellingb I think you added this feature a long time ago, maybe you know what is going on?

CyberShadow commented 3 years ago

It looks like wxTextOutputStream is not writing the space between the two numbers.

wxWidgets was recently updated in 9162f34860b71a38005d689ae342a1251e5ef4ba. Perhaps you can check if earlier versions have that problem?

LHolten commented 3 years ago

yes looks like that commit removed the space