Searched refs:remote_stats_ (Results 1 – 2 of 2) sorted by relevance
121 remote_stats_.used_size.fetch_add(bytes, std::memory_order_relaxed); in IncreaseAllocatedSize()122 remote_stats_.allocated_size += bytes; in IncreaseAllocatedSize()123 if (remote_stats_.allocated_size > in IncreaseAllocatedSize()124 remote_stats_.allocated_size_limit_for_check) { in IncreaseAllocatedSize()126 remote_stats_.allocated_size_limit_for_check = in IncreaseAllocatedSize()127 remote_stats_.allocated_size + kEmbedderAllocatedThreshold; in IncreaseAllocatedSize()132 DCHECK_GE(remote_stats_.used_size.load(std::memory_order_relaxed), bytes); in DecreaseAllocatedSize()133 remote_stats_.used_size.fetch_sub(bytes, std::memory_order_relaxed); in DecreaseAllocatedSize()139 return remote_stats_.used_size.load(std::memory_order_relaxed); in used_size()141 size_t allocated_size() const { return remote_stats_.allocated_size; } in allocated_size()[all …]
82 remote_stats_.used_size = allocated_size; in UpdateRemoteStats()85 remote_stats_.allocated_size_limit_for_check = 0; in UpdateRemoteStats()