Example #1
0
 public void Process(CommandList context)
 {
     if (PerformanceType == Type.Start)
     {
         PerformanceEntryAddresses.SetStartTime(context.GetTimeElapsedSinceDspStartedProcessing());
     }
     else if (PerformanceType == Type.End)
     {
         PerformanceEntryAddresses.SetProcessingTime(context.GetTimeElapsedSinceDspStartedProcessing());
         PerformanceEntryAddresses.IncrementEntryCount();
     }
 }