Program Listing for File Parallelism.hpp

Return to documentation for file (include/networkit/auxiliary/Parallelism.hpp)

/*
 * Parallelism.hpp
 *
 * Control functions related to parallelism.
 *
 *  Created on: 13.11.2013
 *      Author: Christian Staudt (christian.staudt@kit.edu)
 */

#ifndef NETWORKIT_AUXILIARY_PARALLELISM_HPP_
#define NETWORKIT_AUXILIARY_PARALLELISM_HPP_

namespace Aux {

void setNumberOfThreads(int nThreads);

int getCurrentNumberOfThreads();

int getMaxNumberOfThreads();
} // namespace Aux

#endif // NETWORKIT_AUXILIARY_PARALLELISM_HPP_