Enum librsb_sys::rsb_opt_t
source · [−]#[repr(u32)]
pub enum rsb_opt_t {
Show 19 variants
RSB_IO_WANT_VERBOSE_INIT,
RSB_IO_WANT_VERBOSE_EXIT,
RSB_IO_WANT_OUTPUT_STREAM,
RSB_IO_WANT_SORT_METHOD,
RSB_IO_WANT_CACHE_BLOCKING_METHOD,
RSB_IO_WANT_SUBDIVISION_MULTIPLIER,
RSB_IO_WANT_VERBOSE_ERRORS,
RSB_IO_WANT_BOUNDED_BOX_COMPUTATION,
RSB_IO_WANT_EXECUTING_THREADS,
RSB_IO_WANT_EXTRA_VERBOSE_INTERFACE,
RSB_IO_WANT_MEMORY_HIERARCHY_INFO_STRING,
RSB_IO_WANT_IS_INITIALIZED_MARKER,
RSB_IO_WANT_MEM_ALLOC_CNT,
RSB_IO_WANT_MEM_ALLOC_TOT,
RSB_IO_WANT_LEAF_LEVEL_MULTIVEC,
RSB_IO_WANT_MAX_MEMORY_ALLOCATIONS,
RSB_IO_WANT_MAX_MEMORY_ALLOCATED,
RSB_IO_WANT_LIBRSB_ETIME,
RSB_IO_WANT_VERBOSE_TUNING,
}
Expand description
\ingroup rsb_doc_misc rsb_doc_rsb \brief library option values for \see_lib_init_funcs.
Variants
RSB_IO_WANT_VERBOSE_INIT
#RSB_IO_WANT_VERBOSE_INIT prompts for a verbose initialization of the library: messages will be written to the file descriptor (\c FILE*) pointed by the value pointer when calling \ref rsb_lib_init.
RSB_IO_WANT_VERBOSE_EXIT
#RSB_IO_WANT_VERBOSE_EXIT prompts for a verbose finalization of the library: messages will be written to the file descriptor (\c FILE*) pointed by the value pointer when calling \ref rsb_lib_exit.
RSB_IO_WANT_OUTPUT_STREAM
Specifies the default output stream. Output (debug info) info will be written to the file descriptor (\c FILE*) pointed by the value pointer.
RSB_IO_WANT_SORT_METHOD
Specifies the default sorting method. Specified as a pointed integer (#rsb_int_t) number, in {[0],1}. (internal)
RSB_IO_WANT_CACHE_BLOCKING_METHOD
Specifies the default cache blocking method. Specified as a pointed integer (#rsb_int_t) number, in {-1,[0],1}. (internal)
RSB_IO_WANT_SUBDIVISION_MULTIPLIER
Specifies a multiplier for finer (if >1.0) or coarser (if <1.0) subdivisions. Specified as a pointed (#rsb_real_t) number, in {..,[1.0],..}. (internal)
RSB_IO_WANT_VERBOSE_ERRORS
Prompts for a verbose error reporting: messages will be written to the file descriptor (\c FILE*) pointed by the value pointer. Only meaningful if an interface error verbosity greater than 0 was set at configure time.
RSB_IO_WANT_BOUNDED_BOX_COMPUTATION
Prompts for bounded box computation, for a smoother submatrices locking; pointed #rsb_int_t in {0,[1]}. (internal).
RSB_IO_WANT_EXECUTING_THREADS
Specifies the number of desired executing threads; pointed #rsb_int_t in {[0],1,..}.
RSB_IO_WANT_EXTRA_VERBOSE_INTERFACE
Specifies the level of interface verbosity; if setting, pointed #rsb_int_t values should be in {[0],1,..}. Support may be enabled or disabled at build time via the \c –enable-internals-error-verbosity configure option. If disabled, only getting is supported and yields -1, but setting is not supported and the #RSB_ERR_NO_STREAM_OUTPUT_CONFIGURED_OUT error will be returned.
RSB_IO_WANT_MEMORY_HIERARCHY_INFO_STRING
Specifies a custom memory hierarchy info string; pointed \c const #rsb_char_t*; (may point to a NULL string pointer).
RSB_IO_WANT_IS_INITIALIZED_MARKER
Used for getting whether the library has been initialized (#RSB_BOOL_TRUE) or not (#RSB_BOOL_FALSE) ; pointed \c const #rsb_bool_t*; (this is NOT for general users).
RSB_IO_WANT_MEM_ALLOC_CNT
Used for getting the count of memory allocations performed by librsb employing librsb’s memory allocation wrapper (if disabled, will return zero); pointed \c const \c size_t*; (this is for debugging purposes).
RSB_IO_WANT_MEM_ALLOC_TOT
Used for getting the total amount of memory allocated by librsb employing librsb’s memory allocation wrapper (if disabled, will return zero); pointed \c const \c size_t*; (this is for debugging purposes).
RSB_IO_WANT_LEAF_LEVEL_MULTIVEC
Specifies whether the default multi-vector ops shall act at a leaf level (default value of 0 is yes). Specified as a pointed integer (#rsb_int_t) number, in {-1,[0]}. (internal)
RSB_IO_WANT_MAX_MEMORY_ALLOCATIONS
Specifies an upper limit to the count of allocated memory areas (default value of 0 means no limit). Specified as a pointed \c size_t. \rsb_configure_memwrap
RSB_IO_WANT_MAX_MEMORY_ALLOCATED
Specifies an upper limit to the amount of allocated memory (default value of 0 means no limit). Specified as a pointed \c size_t. \rsb_configure_memwrap
RSB_IO_WANT_LIBRSB_ETIME
Represents time spent in librsb. Specified as a pointed #rsb_time_t. Only works if statistics collection (\c –enable-librsb-stats) was specified at configure time.
RSB_IO_WANT_VERBOSE_TUNING
Auto tuning verbosity level for rsb_tune_spmm/rsb_tune_spsm. If 0, no verbosity; if 1, verbose; if 2, verbose with trace files being dumped.
Trait Implementations
impl Copy for rsb_opt_t
impl Eq for rsb_opt_t
impl StructuralEq for rsb_opt_t
impl StructuralPartialEq for rsb_opt_t
Auto Trait Implementations
impl RefUnwindSafe for rsb_opt_t
impl Send for rsb_opt_t
impl Sync for rsb_opt_t
impl Unpin for rsb_opt_t
impl UnwindSafe for rsb_opt_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more