| 205 | } |
| 206 | |
| 207 | Status GraphBuilder::BuildSampler(Graph* graph, |
| 208 | GlobalSamplerType sampler_type) { |
| 209 | switch (sampler_type) { |
| 210 | case kNone: |
| 211 | break; |
| 212 | case kNode: |
| 213 | graph->BuildGlobalSampler(); |
| 214 | break; |
| 215 | case kEdge: |
| 216 | graph->BuildGlobalEdgeSampler(); |
| 217 | break; |
| 218 | case kAll: |
| 219 | graph->BuildGlobalSampler(); |
| 220 | graph->BuildGlobalEdgeSampler(); |
| 221 | break; |
| 222 | default: |
| 223 | assert(false); |
| 224 | } |
| 225 | |
| 226 | return Status::OK(); |
| 227 | } |
| 228 | |
| 229 | |
| 230 | Status GraphBuilder::LoadMeta(Slice meta_path, GraphMeta* meta) { |
nothing calls this directly
no test coverage detected