| 16602 | }; |
| 16603 | |
| 16604 | static void ggml_graph_compute_perf_stats_node(struct ggml_tensor * node, const struct ggml_compute_state_shared * st) { |
| 16605 | int64_t cycles_cur = ggml_perf_cycles() - st->perf_node_start_cycles; |
| 16606 | int64_t time_us_cur = ggml_perf_time_us() - st->perf_node_start_time_us; |
| 16607 | |
| 16608 | node->perf_runs++; |
| 16609 | node->perf_cycles += cycles_cur; |
| 16610 | node->perf_time_us += time_us_cur; |
| 16611 | } |
| 16612 | static void ggml_graph_compute_perf_stats_node_gpu(struct ggml_tensor * node, const struct ggml_compute_state_shared * st) { |
| 16613 | int64_t cycles_cur = ggml_perf_cycles() - st->perf_node_start_cycles; |
| 16614 | int64_t time_us_cur = ggml_perf_time_us() - st->perf_node_start_time_us; |
no outgoing calls
no test coverage detected