Hi,
Welcome to Microsoft Q&A!
As far as I'm concerned, you could try to use Performance Counters. Windows Performance Counters provide a high-level abstraction layer that provides a consistent interface for collecting various kinds of system data such as CPU, memory, and disk usage.
And you could refer to the thread: https://stackoverflow.com/questions/375913/how-can-i-profile-c-code-running-on-linux. There are many diagnostic tools you could choose any one to analyze your application.
You need to profile the application, and then find where you could reduce the launch time of the application. You could refer to the thread: https://stackoverflow.com/questions/2183505/ways-to-improve-the-launch-speed-of-c-application
Best Regards,
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.