Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5064 Discussions

VTune with a Windows Service?

OvalPiston1
Beginner
807 Views

I downloaded the VTune Profiler 2022.3.0.

I have a C++ Windows Service I created with Visual Studio 2019.

The problem I'm having is it's a service executable and can't run from a standalone command line, which is what VTune expects.

How do I setup VTune so I can profile my service (which is running on another computer) and so I know what functions are consuming the most CPU?

0 Kudos
5 Replies
AthiraM_Intel
Moderator
778 Views

Hi,


Thank you for posting in Intel communities.


You can use remote target to profile your application running on another machine


Please refer the below link if you want to profile windows targets


https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/windows-targets.html


For linux target, please refer below link:


https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets.html


Hope this helps. If you face any issue, please let us know.



Thanks


0 Kudos
AthiraM_Intel
Moderator
755 Views

Hi,


We have not heard back from you. Could you please give us an update?


Thanks



0 Kudos
OvalPiston1
Beginner
748 Views

Thanks, I will have a look.

0 Kudos
AthiraM_Intel
Moderator
722 Views

Hi,


Could you please give us an update? Did you get a chance to look into the suggestion?

If your query is clarified please let us know so that we can close this case.



Thanks


0 Kudos
AthiraM_Intel
Moderator
698 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.



Thanks


0 Kudos
Reply