Visual Studio Instrumentation Proccessor Fork

Carlin C 1 Reputation point
2021-09-26T22:53:54.557+00:00

Hi,

I am trying to do instrumentation testing for my application.

When I start testing, my application forks off a service processor that I am trying to benchmark.

The instrumentation only returns the results relating to the start-up processor.

I can accomplish benchmarking with sampling by attaching it directly to the processer, but instrumentation doesn't allow for that.

I was hoping that you would be able to provide me with a method for benchmarking this background service processer.

...  
SC_HANDLE schService = OpenService(schSCManager, TEXT(BUILD_KEY)   
...  
if (StartService(schService, 1, szServiceMainArgs) == FALSE)  
...  

135335-benchmark-instrumentationquestion.png

Best Regards,
Carl

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
947 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
329 questions
{count} votes