JetBrains.Profiler.Api/src/MeasureProfiler.cs [168:184]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
break;
default:
throw new PlatformNotSupportedException();
}
}
///
/// Detach the profiler from the profiled process. Does nothing if detaching is disabled in the profiler. To check
/// whether the detaching is enabled, use with flag.
/// Doesn't throw any errors even if the application is run with profiling disabled.
///
public static void Detach()
{
switch (HabitatInfo.Platform)
{
case JetPlatform.Linux:
if (LinuxHelper.IsCoreApiAlreadyLoaded())
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
JetBrains.Profiler.Api/src/MemoryProfiler.cs [131:147]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
break;
default:
throw new PlatformNotSupportedException();
}
}
///
/// Detach the profiler from the profiled process. Does nothing if detaching is disabled in the profiler. To check
/// whether the detaching is enabled, use with flag.
/// Doesn't throw any errors even if the application is run with profiling disabled.
///
public static void Detach()
{
switch (HabitatInfo.Platform)
{
case JetPlatform.Linux:
if (LinuxHelper.IsCoreApiAlreadyLoaded())
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -