-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timers missing from detailed view in capture #86
Comments
Hi. S.tt_8_1 = [-2119704132,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; This is what it should look like: S.tt_9_13 = [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]; Can you get me a way to reproduce it? A sample program? |
This only happens on the PS Vita as I can't reproduce it on Windows, so I'm not sure how useful a sample program would be. I did have to replace Also I was using |
I tried the zeux fork and that one does have a working timeline: https://github.com/zeux/microprofile |
When using I suspect that Thread IDs are not being returned correctly:
Btw, that else block looks wrong, what's that Oh I see the actual problem is that the rest of this stuff is still 0:
|
Ok, I've figured it out, some platforms are more permissive with the Oh wait, MicroProfile uses |
I actually have another suggestion, according to the commit history the dependency on |
Hey - I haven't looked at your changes yet, but I cam come with a quick comment: I wont be merging any STL stuff. I do want your fixes though. I'll get to them asap. |
Understandable on the STL stuff, though in that case I do think it would be nice to have an option that allows the developer to configure microprofile to use the libc |
Hi. I merged your stuff, thank you! I'm not sure I understand what the motivation for using the libc sprintf would be? It seems to me using stb would be a better idea because you avoid all the locale stuff? |
It's just to reduce external dependencies in case the locale issues are not a concern. The locale only becomes an issue if the program switches to a locale other than the default C locale. If you're not interested in offering that as an option then we should replace all instances of The main reason I'm asking is that I'd like to create a PR that addresses all of the type correctness issues and makes the format strings consistent. |
I think the best solution here would be to stick with stb, and not provide the libc option, and going for the %lld everywhere option. Supporting both would probably end up becoming a mess. |
Works for me, let's clean it up then and use |
Awesome! |
Not sure what's going on, but after doing a capture on a very slow system the detailed view is empty even though the timer view shows several timers.
MicroProfile Capture.zip
The text was updated successfully, but these errors were encountered: