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:
parent
0dc4505c74
commit
9d894b805c
1 changed files with 0 additions and 18 deletions
|
@ -77,24 +77,6 @@ namespace Ryujinx.Profiler
|
||||||
_profileInstance.EndProfile(config);
|
_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()
|
public static string GetSession()
|
||||||
{
|
{
|
||||||
#if USE_PROFILING
|
#if USE_PROFILING
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue