| 29 | */ |
| 30 | template<typename SetType> |
| 31 | DepGraph<SetType> MakeWideGraph(DepGraphIndex ntx) |
| 32 | { |
| 33 | DepGraph<SetType> depgraph; |
| 34 | for (DepGraphIndex i = 0; i < ntx; ++i) { |
| 35 | depgraph.AddTransaction({int32_t(i) + 1, 1}); |
| 36 | if (i > 0) depgraph.AddDependencies(SetType::Singleton(0), i); |
| 37 | } |
| 38 | return depgraph; |
| 39 | } |
| 40 | |
| 41 | template<typename SetType> |
| 42 | void BenchPostLinearizeWorstCase(DepGraphIndex ntx, benchmark::Bench& bench) |
nothing calls this directly
no test coverage detected