Home | History | Annotate | Download | only in util

Lines Matching refs:total

30 void RunSharding(int64 num_workers, int64 total, int64 cost_per_unit,
35 std::vector<bool> work(total, false);
36 Shard(num_workers, threads, total, cost_per_unit,
40 EXPECT_LE(limit, total);
49 EXPECT_EQ(num_done_work, total);
50 LOG(INFO) << num_workers << " " << total << " " << cost_per_unit << " "
57 for (auto total : {0, 1, 7, 10, 64, 100, 256, 1000, 9999}) {
59 RunSharding(workers, total, cost_per_unit, &threads);
81 const int64 total = 1LL << 30;
85 Shard(arg - 1, &threads, total, 1, work);