Removed profile method function. It just doesn't play nice with conditional compilation so best to remove it now before it's used a lot

This commit is contained in:
Andy Adshead 2019-02-01 01:28:13 +00:00
parent 0dc4505c74
commit 9d894b805c

View file

@ -77,24 +77,6 @@ namespace Ryujinx.Profiler
_profileInstance.EndProfile(config);
}
public static void Method(ProfileConfig config, Action method)
{
#if USE_PROFILING
// If profiling is disabled just call the method
if (!ProfilingEnabled())
{
method();
return;
}
Begin(config);
method();
End(config);
#else
method();
#endif
}
public static string GetSession()
{
#if USE_PROFILING