Exemplo n.º 1
0
            public cache_config_t(int cache_config_version)
            {
                version = cache_config_version;

                rpt_fcn_enabled = 0;

                open_trace_file  = 0;
                close_trace_file = 0;

                evictions_enabled = 0;

                set_initial_size = 0;
                initial_size     = IntPtr.Zero;

                min_clean_fraction = 0.0;

                max_size = IntPtr.Zero;
                min_size = IntPtr.Zero;

                epoch_length = 0;

                incr_mode = H5C.cache_incr_mode.OFF;

                lower_hr_threshold = 0.0;

                increment = 0.0;

                apply_max_increment = 0;
                max_increment       = IntPtr.Zero;

                flash_incr_mode = H5C.cache_flash_incr_mode.OFF;
                flash_multiple  = 0.0;
                flash_threshold = 0.0;

                decr_mode = H5C.cache_decr_mode.OFF;

                upper_hr_threshold = 0.0;

                decrement = 0.0;

                apply_max_decrement = 0;
                max_decrement       = IntPtr.Zero;

                epochs_before_eviction = 0;

                apply_empty_reserve = 0;
                empty_reserve       = 0.0;

                dirty_bytes_threshold   = 0;
                metadata_write_strategy = 0;
            }
Exemplo n.º 2
0
            public cache_config_t(int cache_config_version)
            {
                version = cache_config_version;

                rpt_fcn_enabled = 0;

                open_trace_file = 0;
                close_trace_file = 0;

                evictions_enabled = 0;

                set_initial_size = 0;
                initial_size = IntPtr.Zero;

                min_clean_fraction = 0.0;

                max_size = IntPtr.Zero;
                min_size = IntPtr.Zero;

                epoch_length = 0;

                incr_mode = H5C.cache_incr_mode.OFF;

                lower_hr_threshold = 0.0;

                increment = 0.0;

                apply_max_increment = 0;
                max_increment = IntPtr.Zero;

                flash_incr_mode = H5C.cache_flash_incr_mode.OFF;
                flash_multiple = 0.0;
                flash_threshold = 0.0;

                decr_mode = H5C.cache_decr_mode.OFF;

                upper_hr_threshold = 0.0;

                decrement = 0.0;

                apply_max_decrement = 0;
                max_decrement = IntPtr.Zero;

                epochs_before_eviction = 0;

                apply_empty_reserve = 0;
                empty_reserve = 0.0;

                dirty_bytes_threshold = 0;
                metadata_write_strategy = 0;
            }