MCPcopy Create free account
hub / github.com/apache/arrow / Workload

Method Workload

cpp/src/arrow/util/thread_pool_benchmark.cc:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38struct Workload {
39 explicit Workload(int32_t size) : size_(size), data_(kDataSize) {
40 std::default_random_engine gen(42);
41 std::uniform_int_distribution<uint64_t> dist(0, std::numeric_limits<uint64_t>::max());
42 std::generate(data_.begin(), data_.end(), [&]() { return dist(gen); });
43 }
44
45 void operator()();
46

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected