| 704 | } |
| 705 | |
| 706 | void Model::AddProcessingTime(const string& name, int64 delta) { |
| 707 | tf_shared_lock l(mu_); |
| 708 | auto node = gtl::FindOrNull(lookup_table_, name); |
| 709 | if (node) { |
| 710 | (*node)->add_processing_time(delta); |
| 711 | } |
| 712 | } |
| 713 | |
| 714 | void Model::Optimize(AutotuneAlgorithm algorithm, int64 cpu_budget, |
| 715 | int64 ram_budget) { |