Name Date Size #Lines LOC

..12-Feb-2024-

CMakeLists.txtH A D12-Feb-20241.1 KiB3425

README.mdH A D12-Feb-2024936 2521

count_strings.cppH A D12-Feb-202412.5 KiB296231

README.md

1# Count_strings sample
2The example counts the number of unique words in a text.
3
4## Building the example
5```
6cmake <path_to_example>
7cmake --build .
8```
9
10## Running the sample
11### Predefined make targets
12* `make run_count_strings` - executes the example with predefined parameters.
13* `make perf_run_count_strings` - executes the example with suggested parameters to measure the oneTBB performance.
14
15### Application parameters
16Usage:
17```
18count_strings [n-of-threads=value] [n-of-strings=value] [verbose] [silent] [count_collisions] [-h] [n-of-threads [n-of-strings]]
19```
20* `-h` - prints the help for command line options.
21* `n-of-threads` - number of threads to use; a range of the form low\[:high\], where low and optional high are non-negative integers or `auto` for a platform-specific default number.
22* `n-of-strings` - number of strings.
23* `verbose` - prints diagnostic output to screen.
24* `silent` - no output except elapsed time.
25