Searched refs:injection_graph (Results 1 – 4 of 4) sorted by relevance
/external/google-fruit/extras/benchmark/ |
D | no_di_library_source_generator.py | 17 def generate_files(injection_graph, use_new_delete, use_interfaces, generate_runtime_bench_code): argument 20 for node_id in injection_graph.nodes_iter(): 21 deps = injection_graph.successors(node_id) 30 …file_content_by_name['main.cpp'] = _generate_main(injection_graph, use_interfaces, use_new_delete,… 148 def _generate_main(injection_graph, use_interfaces, use_new_delete, generate_runtime_bench_code): argument 150 for node_id in injection_graph.nodes_iter() 151 if not injection_graph.predecessors(node_id)] 155 for index in injection_graph.nodes_iter()) 164 … for dep_index in injection_graph.successors(class_index))) 165 … for class_index in reversed(list(nx.topological_sort(injection_graph)))) [all …]
|
D | boost_di_source_generator.py | 15 def generate_files(injection_graph, generate_runtime_bench_code): argument 18 for node_id in injection_graph.nodes_iter(): 19 deps = injection_graph.successors(node_id) 24 for node_id in injection_graph.nodes_iter() 25 if not injection_graph.predecessors(node_id)] 26 …file_content_by_name['main.cpp'] = _generate_main(injection_graph, toplevel_node, generate_runtime… 89 def _generate_main(injection_graph, toplevel_component, generate_runtime_bench_code): argument 91 for index in injection_graph.nodes_iter()) 94 for index in injection_graph.nodes_iter())
|
D | fruit_source_generator.py | 16 def generate_files(injection_graph, generate_runtime_bench_code, use_normalized_component=False): argument 22 for node_id in injection_graph.nodes_iter(): 24 …e['component%s.cpp' % node_id] = _generate_component_source(node_id, injection_graph.successors(no… 27 for node_id in injection_graph.nodes_iter() 28 if not injection_graph.predecessors(node_id)]
|
D | generate_benchmark.py | 30 injection_graph = nx.DiGraph() 65 injection_graph.add_edge(component_id, dep) 71 return injection_graph 105 …injection_graph = generate_injection_graph(num_components_with_no_deps=num_components_with_no_deps, 110 …file_content_by_name = fruit_source_generator.generate_files(injection_graph, generate_runtime_ben… 115 …file_content_by_name = boost_di_source_generator.generate_files(injection_graph, generate_runtime_… 120 …file_content_by_name = no_di_library_source_generator.generate_files(injection_graph, use_new_dele…
|