Skip to content
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

timetrace outputs with incorrect timing? #28

Open
s9w opened this issue May 6, 2022 · 0 comments
Open

timetrace outputs with incorrect timing? #28

s9w opened this issue May 6, 2022 · 0 comments

Comments

@s9w
Copy link

s9w commented May 6, 2022

I think the timings the .json output from /timetrace might be incorrect As an example, I used this program:

#include <vector>
int main()
{
   return 0;
}

I ran vcperf and created both .etl and .json outputs. The json, when viewed in chrome, looks like this:

grafik

That's already a bit odd. the main.cpp file has seemingly two entries. One under the proper CL invocation, FrontEndPass etc - and one to the side. This looks much different in WPA:

grafik

In larger projects, this doesn't always happen. I couldn't quite nail the problem down but I think it has to do with the different "ph" properties of the entries. Sometimes there are double "B" entries where it almost seems as if the second should be an "E". But I'm not too familiar with the trace format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant