GitHub Viewer
// 2018/12/04 - modified by Tsung-Wei Huang
// - replaced privatized threadpool with work stealing threadpool
//
// 2018/10/24 - modified by Tsung-Wei Huang
// - Taskflow is templated at threadpool
// - added graph-level comparison with different thread pools
//
// 2018/09/19 - created by Tsung-Wei Huang
//
// This program is used to benchmark the taskflow under different types
// of workloads.
#include
#include
#include
#include
#include
constexpr int WIDTH = 12;
// Procedure: benchmark
#define BENCHMARK(TITLE, F) \
std::cout \