Skip to content

Commit

Permalink
fix: fixing ProfilerCounter
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Aug 7, 2022
1 parent 5a75b65 commit 81344fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Assets/Mirage.Profiler/Counters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ internal static class Counters
public static readonly ProfilerCounter<int> CharCount = new ProfilerCounter<int>(Category, Names.CHARACTER_COUNT, COUNT);
public static readonly ProfilerCounter<int> ObjectCount = new ProfilerCounter<int>(Category, Names.OBJECT_COUNT, COUNT);

public static readonly ProfilerCounterValue<int> SentCount = new ProfilerCounter<int>(Category, Names.SENT_COUNT, COUNT);
public static readonly ProfilerCounterValue<int> SentBytes = new ProfilerCounter<int>(Category, Names.SENT_BYTES, BYTES);
public static readonly ProfilerCounterValue<int> SentPerSecond = new ProfilerCounter<int>(Category, Names.SENT_PER_SECOND, BYTES);
public static readonly ProfilerCounter<int> SentCount = new ProfilerCounter<int>(Category, Names.SENT_COUNT, COUNT);
public static readonly ProfilerCounter<int> SentBytes = new ProfilerCounter<int>(Category, Names.SENT_BYTES, BYTES);
public static readonly ProfilerCounter<int> SentPerSecond = new ProfilerCounter<int>(Category, Names.SENT_PER_SECOND, BYTES);

public static readonly ProfilerCounterValue<int> ReceiveCount = new ProfilerCounter<int>(Category, Names.RECEIVED_COUNT, COUNT);
public static readonly ProfilerCounterValue<int> ReceiveBytes = new ProfilerCounter<int>(Category, Names.RECEIVED_BYTES, BYTES);
public static readonly ProfilerCounterValue<int> ReceivePerSecond = new ProfilerCounter<int>(Category, Names.RECEIVED_PER_SECOND, BYTES);
public static readonly ProfilerCounter<int> ReceiveCount = new ProfilerCounter<int>(Category, Names.RECEIVED_COUNT, COUNT);
public static readonly ProfilerCounter<int> ReceiveBytes = new ProfilerCounter<int>(Category, Names.RECEIVED_BYTES, BYTES);
public static readonly ProfilerCounter<int> ReceivePerSecond = new ProfilerCounter<int>(Category, Names.RECEIVED_PER_SECOND, BYTES);
}
}

0 comments on commit 81344fe

Please sign in to comment.