Пример #1
0
        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);
        }
Пример #2
0
 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();
     }
 }
Пример #3
0
 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();
     }
 }
Пример #4
0
 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);
         }
     }
 }
Пример #5
0
 public GpuCounterInfo() : this(HWCPipeAndroidPINVOKE.new_GpuCounterInfo(), true)
 {
 }
Пример #6
0
 public Measurements() : this(HWCPipeAndroidPINVOKE.new_Measurements(), true)
 {
 }
Пример #7
0
 public void stop()
 {
     HWCPipeAndroidPINVOKE.HWCPipe_stop(swigCPtr);
 }
Пример #8
0
        public Measurements sample()
        {
            Measurements ret = new Measurements(HWCPipeAndroidPINVOKE.HWCPipe_sample(swigCPtr), true);

            return(ret);
        }
Пример #9
0
        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);
        }
Пример #10
0
 public void set(long value)
 {
     HWCPipeAndroidPINVOKE.Value_set__SWIG_0(swigCPtr, value);
 }
Пример #11
0
 public Value(long value) : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_1(value), true)
 {
 }
Пример #12
0
 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();
     }
 }
Пример #13
0
 public HWCPipe(string json_string) : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_0(json_string), true)
 {
 }
Пример #14
0
 public virtual void stop()
 {
     HWCPipeAndroidPINVOKE.GpuProfiler_stop(swigCPtr);
 }
Пример #15
0
        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);
        }
Пример #16
0
 public virtual void run()
 {
     HWCPipeAndroidPINVOKE.GpuProfiler_run(swigCPtr);
 }
Пример #17
0
 public Value() : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_0(), true)
 {
 }
Пример #18
0
 public HWCPipe() : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_2(), true)
 {
 }
Пример #19
0
 public Value(double value) : this(HWCPipeAndroidPINVOKE.new_Value__SWIG_2(value), true)
 {
 }
Пример #20
0
 public void run()
 {
     HWCPipeAndroidPINVOKE.HWCPipe_run(swigCPtr);
 }
Пример #21
0
 public void set(double value)
 {
     HWCPipeAndroidPINVOKE.Value_set__SWIG_1(swigCPtr, value);
 }
Пример #22
0
 public CpuCounterHash() : this(HWCPipeAndroidPINVOKE.new_CpuCounterHash(), true)
 {
 }