Command Line Usage - VerySleepy/verysleepy GitHub Wiki

Very Sleepy can be told to automatically start profiling a program, and optionally save the profiling results and exit, using command-line switches.

  • You can indicate a program to profile by either using the /r switch to indicate an executable file name to start, or the /a switch to profile an existing process by specifying its PID.
  • If the /o switch is given, Very Sleepy will write the results to the specified .sleepy file and automatically exit.

Run sleepy.exe /h to get a full list.