Exemple #1
0
 public static void list_metrics_to_load(metric_group group, uchar_vector valid_to_load, instrument_type instrument, bool is_iuo)
 {
     c_csharp_run_metricsPINVOKE.list_metrics_to_load__SWIG_0((int)group, uchar_vector.getCPtr(valid_to_load), (int)instrument, is_iuo);
     if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void list_filenames(metric_group group, string_vector files, string run_folder)
 {
     c_csharp_run_metricsPINVOKE.run_metrics_list_filenames__SWIG_1(swigCPtr, (int)group, string_vector.getCPtr(files), run_folder);
     if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public uint calculate_buffer_size(metric_group group)
        {
            uint ret = c_csharp_run_metricsPINVOKE.run_metrics_calculate_buffer_size(swigCPtr, (int)group);

            if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public static metric_group parse_metric_group(string name)
        {
            metric_group ret = (metric_group)c_csharp_runPINVOKE.parse_metric_group(name);

            if (c_csharp_runPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
 public void write_metrics_to_buffer(metric_group group, byte[] buffer, uint buffer_size)
 {
     unsafe
     {
         fixed(byte *swig_ptrTo_buffer = buffer)
         {
             {
                 c_csharp_run_metricsPINVOKE.run_metrics_write_metrics_to_buffer(swigCPtr, (int)group, (global::System.IntPtr)swig_ptrTo_buffer, buffer_size);
                 if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending)
                 {
                     throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve();
                 }
             }
         }
     }
 }
Exemple #6
0
        public static bool is_iuo(metric_group type)
        {
            bool ret = c_csharp_run_metricsPINVOKE.is_iuo((int)type);

            return(ret);
        }
Exemple #7
0
        public static metric_feature_type to_feature(metric_group type)
        {
            metric_feature_type ret = (metric_feature_type)c_csharp_run_metricsPINVOKE.to_feature__SWIG_1((int)type);

            return(ret);
        }
Exemple #8
0
        public static metric_group to_group(metric_type type)
        {
            metric_group ret = (metric_group)c_csharp_run_metricsPINVOKE.to_group((int)type);

            return(ret);
        }
Exemple #9
0
        public bool is_group_empty(metric_group group_id)
        {
            bool ret = c_csharp_run_metricsPINVOKE.run_metrics_is_group_empty__SWIG_1(swigCPtr, (int)group_id);

            return(ret);
        }
Exemple #10
0
        public static string to_string(metric_group value)
        {
            string ret = c_csharp_runPINVOKE.to_string__SWIG_2((int)value);

            return(ret);
        }