[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/haohuixin/cpp-taskflow/master/example/taskflow.cpp [Back]  [Original]

// 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                                                                       \
  

Web Proxy Viewer  |  New URL  |  Original Page