how to run Visual Studio profiler from a command prompt and where to find its command line options?

Blocat how to run Visual Studio profiler from a command prompt and where to find its command line options?

  • 11 aprilie 2012 01:12
     
     

    hello

    I'm trying to check the performance of my program

    VS profiler seems like a fitting choice

    it gives me "instrumentation failed with these options: /u 'file_name_here.exe' /excludesmallfuncs"

    obviously I need to get rid of "/excludesmallfuncs" option but I would like to use a cmd for that

    I'm wondering how VS profiler can be run from cmd

    what's this tool's exe name?

    and where can I find a list of cmd options it recognizes

    thanks


    • Editat de ColdBackup 11 aprilie 2012 01:14
    • Mutat de Helen Zhao 13 aprilie 2012 08:09 (From:Visual C++ General)
    •  

Toate mesajele

  • 11 aprilie 2012 03:23
     
     

    If you want to run some test from command line have a look on this

    http://msdn.microsoft.com/en-us/library/ms182487%28v=vs.80%29.aspx

    Thanks


    Rupesh Shukla

  • 13 aprilie 2012 08:09
     
     

    Hi ColdBackup,

    According to your description, I'd like to move this thread to "Visual Studio Performance Tools (Profiler) Forum" for better support, where more experts live.

    Thanks for your understanding.
    Best regards,


    Helen Zhao [MSFT]
    MSDN Community Support | Feedback to us

  • 13 aprilie 2012 08:32
    Moderator
     
     Răspuns

    Hi ColdBackup,

    Thank you for posting in the MSDN forum.

    If you are using the VS2010 Ultimate version, this performance tool is in this path “:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools”.

    About how to use it from the Command Line, if possible, please see:

    Profiling From the Command Line

    Using the Profiling Tools From the Command-Line. Hope it could help.

    Have a nice weekend,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us