public SWIGTYPE_p_GpuProfiler gpu_profiler() { global::System.IntPtr cPtr = HWCPipeAndroidPINVOKE.HWCPipe_gpu_profiler(swigCPtr); SWIGTYPE_p_GpuProfiler ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_GpuProfiler(cPtr, false); return(ret); }
public virtual void set_enabled_counters(SWIGTYPE_p_std__unordered_setT_hwcpipe__GpuCounter_hwcpipe__GpuCounterHash_t counters) { HWCPipeAndroidPINVOKE.GpuProfiler_set_enabled_counters(swigCPtr, SWIGTYPE_p_std__unordered_setT_hwcpipe__GpuCounter_hwcpipe__GpuCounterHash_t.getCPtr(counters)); if (HWCPipeAndroidPINVOKE.SWIGPendingException.Pending) { throw HWCPipeAndroidPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_enabled_gpu_counters(SWIGTYPE_p_GpuCounterSet counters) { HWCPipeAndroidPINVOKE.HWCPipe_set_enabled_gpu_counters(swigCPtr, SWIGTYPE_p_GpuCounterSet.getCPtr(counters)); if (HWCPipeAndroidPINVOKE.SWIGPendingException.Pending) { throw HWCPipeAndroidPINVOKE.SWIGPendingException.Retrieve(); } }
protected virtual void Dispose(bool disposing) { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; HWCPipeAndroidPINVOKE.delete_Value(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } } }
public GpuCounterInfo() : this(HWCPipeAndroidPINVOKE.new_GpuCounterInfo(), true) { }
public Measurements() : this(HWCPipeAndroidPINVOKE.new_Measurements(), true) { }
public void stop() { HWCPipeAndroidPINVOKE.HWCPipe_stop(swigCPtr); }
public Measurements sample() { Measurements ret = new Measurements(HWCPipeAndroidPINVOKE.HWCPipe_sample(swigCPtr), true); return(ret); }
public virtual SWIGTYPE_p_std__unordered_setT_hwcpipe__GpuCounter_hwcpipe__GpuCounterHash_t supported_counters() { SWIGTYPE_p_std__unordered_setT_hwcpipe__GpuCounter_hwcpipe__GpuCounterHash_t ret = new SWIGTYPE_p_std__unordered_setT_hwcpipe__GpuCounter_hwcpipe__GpuCounterHash_t(HWCPipeAndroidPINVOKE.GpuProfiler_supported_counters(swigCPtr), false); return(ret); }
public void set(long value) { HWCPipeAndroidPINVOKE.Value_set__SWIG_0(swigCPtr, value); }
public Value(long value) : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_1(value), true) { }
public HWCPipe(SWIGTYPE_p_CpuCounterSet enabled_cpu_counters, SWIGTYPE_p_GpuCounterSet enabled_gpu_counters) : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_1(SWIGTYPE_p_CpuCounterSet.getCPtr(enabled_cpu_counters), SWIGTYPE_p_GpuCounterSet.getCPtr(enabled_gpu_counters)), true) { if (HWCPipeAndroidPINVOKE.SWIGPendingException.Pending) { throw HWCPipeAndroidPINVOKE.SWIGPendingException.Retrieve(); } }
public HWCPipe(string json_string) : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_0(json_string), true) { }
public virtual void stop() { HWCPipeAndroidPINVOKE.GpuProfiler_stop(swigCPtr); }
public virtual SWIGTYPE_p_std__unordered_mapT_hwcpipe__GpuCounter_Value_hwcpipe__GpuCounterHash_t sample() { SWIGTYPE_p_std__unordered_mapT_hwcpipe__GpuCounter_Value_hwcpipe__GpuCounterHash_t ret = new SWIGTYPE_p_std__unordered_mapT_hwcpipe__GpuCounter_Value_hwcpipe__GpuCounterHash_t(HWCPipeAndroidPINVOKE.GpuProfiler_sample(swigCPtr), false); return(ret); }
public virtual void run() { HWCPipeAndroidPINVOKE.GpuProfiler_run(swigCPtr); }
public Value() : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_0(), true) { }
public HWCPipe() : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_2(), true) { }
public Value(double value) : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_2(value), true) { }
public void run() { HWCPipeAndroidPINVOKE.HWCPipe_run(swigCPtr); }
public void set(double value) { HWCPipeAndroidPINVOKE.Value_set__SWIG_1(swigCPtr, value); }
public CpuCounterHash() : this(HWCPipeAndroidPINVOKE.new_CpuCounterHash(), true) { }