Searched refs:max_subcomputation_bytes (Results 1 – 2 of 2) sorted by relevance
232 int64 max_subcomputation_bytes = 0; in BytesFreedIfScheduled() local237 if (subcomputation_bytes > max_subcomputation_bytes) { in BytesFreedIfScheduled()238 max_subcomputation_bytes = subcomputation_bytes; in BytesFreedIfScheduled()243 if (max_subcomputation_bytes > 0 && in BytesFreedIfScheduled()248 bytes_defined = max_subcomputation_bytes; in BytesFreedIfScheduled()250 bytes_defined = entry.bytes_defined + max_subcomputation_bytes; in BytesFreedIfScheduled()
534 int64 max_subcomputation_bytes = 0; in AccountForSubcomputationMemory() local539 if (subcomputation_bytes > max_subcomputation_bytes) { in AccountForSubcomputationMemory()540 max_subcomputation_bytes = subcomputation_bytes; in AccountForSubcomputationMemory()544 if (max_subcomputation_bytes > 0 && in AccountForSubcomputationMemory()550 max_subcomputation_bytes -= alloc_size_by_instruction; in AccountForSubcomputationMemory()553 std::max(max_heap_size_, current_heap_size_ + max_subcomputation_bytes); in AccountForSubcomputationMemory()