Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Merge requests
!2
added feature to guess the compression configuration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
added feature to guess the compression configuration
guess_good_cmp_pars
into
master
Overview
0
Commits
11
Changes
25
Merged
Dominik Loidolt
requested to merge
guess_good_cmp_pars
into
master
3 years ago
Overview
0
Commits
11
Changes
25
Expand
if samples = 0 the cmp_tool counts the samples in the data file and uses them
if buffer_length = 0 the 2*samples parameter is used as buffer_length
added feature to guess the compression configuration
some code refactoring
added more detailed error messages
small bug fixes
0
0
Merge request reports
Compare
master
version 1
2376518d
3 years ago
master (base)
and
latest version
latest version
fc454577
11 commits,
3 years ago
version 1
2376518d
9 commits,
3 years ago
25 files
+
2549
−
632
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
25
Search (e.g. *.vue) (Ctrl+P)
include/cmp_guess.h
0 → 100644
+
38
−
0
Options
/**
* @file cmp_guess.h
* @author Dominik Loidolt (dominik.loidolt@univie.ac.at),
* @date 2020
*
* @copyright GPLv2
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* @brief helps the user to find a good compression parameters for a given
* dataset
*/
#ifndef CMP_GUESS_H
#define CMP_GUESS_H
#include
"cmp_support.h"
#define DEFAULT_GUESS_LEVEL 2
#define CMP_GUESS_DEF_MODE_DIFF MODE_DIFF_ZERO
#define CMP_GUESS_DEF_MODE_MODEL MODE_MODEL_MULTI
/* how often the model is updated before it is reset default value */
#define CMP_GUESS_N_MODEL_UPDATE_DEF 8
uint32_t
cmp_guess
(
struct
cmp_cfg
*
cfg
,
int
level
);
void
cmp_guess_set_model_updates
(
int
n_model_updates
);
uint16_t
cmp_guess_model_value
(
int
n_model_updates
);
#endif
/* CMP_GUESS_H */
Loading