1*d86ed7fbStbbdev# Count_strings sample 2*d86ed7fbStbbdevThe example counts the number of unique words in a text. 3*d86ed7fbStbbdev 4*d86ed7fbStbbdev## Building the example 5*d86ed7fbStbbdev``` 6*d86ed7fbStbbdevcmake <path_to_example> 7*d86ed7fbStbbdevcmake --build . 8*d86ed7fbStbbdev``` 9*d86ed7fbStbbdev 10*d86ed7fbStbbdev## Running the sample 11*d86ed7fbStbbdev### Predefined make targets 12*d86ed7fbStbbdev* `make run_count_strings` - executes the example with predefined parameters. 13*d86ed7fbStbbdev* `make perf_run_count_strings` - executes the example with suggested parameters to measure the oneTBB performance. 14*d86ed7fbStbbdev 15*d86ed7fbStbbdev### Application parameters 16*d86ed7fbStbbdevUsage: 17*d86ed7fbStbbdev``` 18*d86ed7fbStbbdevcount_strings [n-of-threads=value] [n-of-strings=value] [verbose] [silent] [count_collisions] [-h] [n-of-threads [n-of-strings]] 19*d86ed7fbStbbdev``` 20*d86ed7fbStbbdev* `-h` - prints the help for command line options. 21*d86ed7fbStbbdev* `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*d86ed7fbStbbdev* `n-of-strings` - number of strings. 23*d86ed7fbStbbdev* `verbose` - prints diagnostic output to screen. 24*d86ed7fbStbbdev* `silent` - no output except elapsed time. 25