Overview

Example program that demonstrates template class concurrent_hash_map.

Files

count_strings.cpp
Source code for example.
Makefile
Makefile for building example.

Directories

vc7.1
Contains Microsoft* Visual Studio* .NET 2003 workspace for building and running the example.
vc8
Contains Microsoft* Visual Studio* 2005 workspace for building and running the example.
vc9
Contains Microsoft* Visual Studio* 2008 workspace for building and running the example.
xcode
Contains Xcode* IDE workspace for building and running the example.

To Build

General build directions can be found here.

Usage

count_strings [verbose] [N] [P]
N is the number of strings and P is the number of threads to be used. The "verbose" option enables printing of extra information during execution.
To run a short version of this example, e.g., for use with Intel® Threading Tools:
Build a debug version of the example (see the build directions).
Run it with a small number of strings and the desired number of threads, e.g., count_strings 10000 2.

Up to parent directory

Copyright © 2005-2010 Intel Corporation. All Rights Reserved.

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.

* Other names and brands may be claimed as the property of others.