On macOS the os_signpost
functions can be used to create markers that appear in the timeline of the XCode Instruments profiler. This is extremely helpful to spot certain events in a profiling session.
For cross-platform C++ applications, I‘d like to have the same feature on Windows, where I either use Intel VTune or the Visual Studio 2019 profiler. Is there an API allowing something similar with at least one of these profilers on Windows?