Searched refs:max_subcomputation_bytes (Results 1 – 2 of 2) sorted by relevance
237 int64 max_subcomputation_bytes = 0; in BytesFreedIfScheduled() local242 if (subcomputation_bytes > max_subcomputation_bytes) { in BytesFreedIfScheduled()243 max_subcomputation_bytes = subcomputation_bytes; in BytesFreedIfScheduled()248 if (max_subcomputation_bytes > 0 && in BytesFreedIfScheduled()253 bytes_defined = max_subcomputation_bytes; in BytesFreedIfScheduled()255 bytes_defined = entry.bytes_defined + max_subcomputation_bytes; in BytesFreedIfScheduled()
468 int64 max_subcomputation_bytes = 0; in AccountForSubcomputationMemory() local473 if (subcomputation_bytes > max_subcomputation_bytes) { in AccountForSubcomputationMemory()474 max_subcomputation_bytes = subcomputation_bytes; in AccountForSubcomputationMemory()478 if (max_subcomputation_bytes > 0 && in AccountForSubcomputationMemory()484 max_subcomputation_bytes -= alloc_size_by_instruction; in AccountForSubcomputationMemory()487 std::max(max_heap_size_, current_heap_size_ + max_subcomputation_bytes); in AccountForSubcomputationMemory()