Performance counter not working for 64bit winforms app
steewb
Posts: 5
I'm trying to optimise an Winforms .NET 4.0 app on Win7 64bit.
Compiling as a 32bit app the performance counter CPU is working as supposed but as a 64bit (or any-cpu) the counter is not shown.
According to the log all [Profiler pipe monitor] entries are missing.
I already tried to restore the counters for x64 as mentioned in other threads. But had no luck with that.
Compiling as a 32bit app the performance counter CPU is working as supposed but as a 64bit (or any-cpu) the counter is not shown.
According to the log all [Profiler pipe monitor] entries are missing.
I already tried to restore the counters for x64 as mentioned in other threads. But had no luck with that.
Comments
Can you kindly first double check something for me: when your app is running as 64-bit and the counters aren't showing up, is the profiler definitely connected to the application (the bottom left corner should show a status of "Connected")? I just want to make sure that the profiling session is not immediately stopping for some reason so that no activity appears in the timeline.
Can I also just double check - if you run perfmon in 64-bit mode (mmc.exe perfmon.msc) are the counters definitely working from there?
Thank you!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Counters are working in 64-biot mode.
Thank you for your reply.
In that case, can you please reply to the support ticket we've opened for you, #40740, with your latest log files (Help>Open log folder) and any errors/events in Event Viewer (Windows log>Application) related to the profiler or your application? Those will hopefully shed more light on why the profiler isn't connecting to your app.
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?