31 bool set_compress,
bool set_decompress,
bool is_percentage);
#define lzma_attribute(attr)
void hardware_memlimit_set(uint64_t new_memlimit, bool set_compress, bool set_decompress, bool is_percentage)
void hardware_memlimit_show(void) lzma_attribute((__noreturn__))
Display the amount of RAM and memory usage limits and exit.
uint32_t hardware_threads_get(void)
Get the maximum number of worker threads.
void hardware_threads_set(uint32_t threadlimit)
Set the maximum number of worker threads.
uint64_t hardware_memlimit_get(enum operation_mode mode)
Get the current memory usage limit for compression or decompression.