| <HTML> |
| <BODY> |
| |
| <H2>Overview</H2> |
| Example program that demonstrates template class concurrent_hash_map. |
| |
| <H2>Files</H2> |
| <DL> |
| <DT><A HREF="count_strings.cpp">count_strings.cpp</A> |
| <DD>Source code for example. |
| <DT><A HREF="Makefile">Makefile</A> |
| <DD>Makefile for building example. |
| </DL> |
| |
| <H2>Directories</H2> |
| <DL> |
| <DT><A HREF="msvs">msvs</A> |
| <DD>Contains Microsoft* Visual Studio* 2005 workspace for building and running the example. |
| <DT><A HREF="xcode">xcode</A> |
| <DD>Contains Xcode* IDE workspace for building and running the example. |
| </DL> |
| |
| <H2>To Build</H2> |
| General build directions can be found <A HREF=../../index.html#build>here</A>. |
| |
| <H2>Usage</H2> |
| <DL> |
| <DT><TT>count_strings [verbose] [<I>N</I>] [<I>P</I>]</TT> |
| <DD><I>N</I> is the number of strings and <I>P</I> is the number of threads to be used. The "verbose" option enables printing |
| of extra information during execution. |
| <DT>To run a short version of this example, e.g., for use with Intel® Threading Tools: |
| <DD>Build a <I>debug</I> version of the example |
| (see the <A HREF=../../index.html#build>build directions</A>). |
| <BR>Run it with a small number of strings and the desired number of threads, e.g., <TT>count_strings 10000 2</TT>. |
| </DL> |
| |
| <HR> |
| <A HREF="../index.html">Up to parent directory</A> |
| <p></p> |
| Copyright © 2005-2010 Intel Corporation. All Rights Reserved. |
| <p></p> |
| Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are |
| registered trademarks or trademarks of Intel Corporation or its |
| subsidiaries in the United States and other countries. |
| <p></p> |
| * Other names and brands may be claimed as the property of others. |
| </BODY> |
| </HTML> |
| |