Engine 3d call method profiled
This commit is contained in:
parent
8ae882ebe6
commit
11e62d1ca5
2 changed files with 12 additions and 0 deletions
|
@ -82,7 +82,13 @@ namespace Ryujinx.Graphics.Graphics3d
|
|||
{
|
||||
if (Methods.TryGetValue(MethCall.Method, out NvGpuMethod Method))
|
||||
{
|
||||
ProfileConfig profile = Profiles.GPU.Engine3d.CallMethod;
|
||||
profile.SessionItem = Method.Method.Name;
|
||||
Profile.Begin(profile);
|
||||
|
||||
Method(Vmm, MethCall);
|
||||
|
||||
Profile.End(profile);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -105,6 +105,12 @@ namespace Ryujinx.Profiler
|
|||
|
||||
public static class Engine3d
|
||||
{
|
||||
public static ProfileConfig CallMethod = new ProfileConfig()
|
||||
{
|
||||
Category = "GPU.Engine3D",
|
||||
SessionGroup = "CallMethod",
|
||||
};
|
||||
|
||||
public static ProfileConfig VertexEnd = new ProfileConfig()
|
||||
{
|
||||
Category = "GPU.Engine3D",
|
||||
|
|
Loading…
Add table
Reference in a new issue