Exemple #1
0
 public static unsafe void GetPerfMonitorCounterString(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint group, [Flow(FlowDirection.In)] uint counter, [Flow(FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(FlowDirection.Out)] uint *length, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <byte> counterString)
 {
     // SpanOverloader
     thisApi.GetPerfMonitorCounterString(group, counter, bufSize, length, out counterString.GetPinnableReference());
 }
Exemple #2
0
 public static unsafe void GetPerfMonitorCounterInfo <T0>(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint group, [Flow(FlowDirection.In)] uint counter, [Flow(FlowDirection.In)] AMD pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <T0> data) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetPerfMonitorCounterInfo(group, counter, pname, out data.GetPinnableReference());
 }
Exemple #3
0
 public static unsafe void GetPerfMonitorCounters(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint group, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> numCounters, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> maxActiveCounters, [Flow(FlowDirection.In)] uint counterSize, [Count(Parameter = "counterSize"), Flow(FlowDirection.Out)] Span <uint> counters)
 {
     // SpanOverloader
     thisApi.GetPerfMonitorCounters(group, out numCounters.GetPinnableReference(), out maxActiveCounters.GetPinnableReference(), counterSize, out counters.GetPinnableReference());
 }
Exemple #4
0
 public static unsafe void GetPerfMonitorCounterData(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint monitor, [Flow(FlowDirection.In)] AMD pname, [Flow(FlowDirection.In)] uint dataSize, [Count(Parameter = "dataSize"), Flow(FlowDirection.Out)] Span <uint> data, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> bytesWritten)
 {
     // SpanOverloader
     thisApi.GetPerfMonitorCounterData(monitor, pname, dataSize, out data.GetPinnableReference(), out bytesWritten.GetPinnableReference());
 }
Exemple #5
0
 public static unsafe void GenPerfMonitors(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.Out)] Span <uint> monitors)
 {
     // SpanOverloader
     thisApi.GenPerfMonitors(n, out monitors.GetPinnableReference());
 }
Exemple #6
0
 public static unsafe void SelectPerfMonitorCounters(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint monitor, [Flow(FlowDirection.In)] Boolean enable, [Flow(FlowDirection.In)] uint group, [Flow(FlowDirection.In)] int numCounters, [Count(Parameter = "numCounters"), Flow(FlowDirection.Out)] Span <uint> counterList)
 {
     // SpanOverloader
     thisApi.SelectPerfMonitorCounters(monitor, enable, group, numCounters, out counterList.GetPinnableReference());
 }
Exemple #7
0
 public static unsafe void GetPerfMonitorGroupString(this AmdPerformanceMonitor thisApi, [Flow(FlowDirection.In)] uint group, [Flow(FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <string> groupString)
 {
     // SpanOverloader
     thisApi.GetPerfMonitorGroupString(group, bufSize, out length.GetPinnableReference(), out groupString.GetPinnableReference());
 }
Exemple #8
0
 public static unsafe void GetPerfMonitorGroups(this AmdPerformanceMonitor thisApi, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> numGroups, [Flow(FlowDirection.In)] uint groupsSize, [Count(Parameter = "groupsSize"), Flow(FlowDirection.Out)] Span <uint> groups)
 {
     // SpanOverloader
     thisApi.GetPerfMonitorGroups(out numGroups.GetPinnableReference(), groupsSize, out groups.GetPinnableReference());
 }