• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..04-Oct-2021-

README.mdH A D04-Oct-20211.1 KiB2924

blocksort.cppH A D04-Oct-202135.5 KiB1,285891

bzlib.cppH A D04-Oct-202150.5 KiB1,7061,332

bzlib.hppH A D04-Oct-20218.3 KiB247118

bzlib_private.hppH A D04-Oct-202115.3 KiB529320

compress.cppH A D04-Oct-202125.3 KiB855600

crctable.cppH A D04-Oct-20216.9 KiB12440

decompress.cppH A D04-Oct-202125.8 KiB733559

fgbzip2.cppH A D04-Oct-202112.3 KiB367269

huffman.cppH A D04-Oct-20219.7 KiB261139

randtable.cppH A D04-Oct-20215.9 KiB10530

README.md

1# fgbzip2 sample
2fgbzip2 is a parallel implementation of bzip2 block-sorting file compressor that uses `oneapi::tbb::flow`. The output of this application is fully compatible with bzip2 v1.0.6 or newer.
3
4This example includes software developed by Julian R Seward. See here for copyright information.
5It exemplifies support for asynchronous capabilities in the flow graph API.
6
7## Building the example
8```
9cmake <path_to_example>
10cmake --build .
11```
12
13## Running the sample
14### Predefined make targets
15* `make run_fgbzip2` - executes the example with predefined parameters.
16* `make perf_run_fgbzip2` - executes the example with suggested parameters to measure the oneTBB performance.
17
18### Application parameters
19Usage:
20```
21fgbzip2 [-b=value] [-v] [-l=value] [-async] [filename=value] [-h] [filename]
22```
23* `-h` - prints the help for command line options.
24* `-b` - block size in 100 KB chunks, [1 .. 9].
25* `-v` - prints diagnostic output to screen.
26* `-l` - use memory limit for compression algorithm with 1 MB (minimum) granularity.
27* `-async` - use graph `async_node`-based implementation.
28* `filename` - name of the file to compress.
29