Metal: track buffer allocations (#7556)

This commit is contained in:
Ben Doherty
2024-03-22 12:47:56 -07:00
committed by GitHub
parent 9aaaad9271
commit 317c1bb7ea
14 changed files with 136 additions and 16 deletions

View File

@@ -28,4 +28,8 @@ const char* sstream::c_str() const noexcept {
return buffer ? buffer : "";
}
size_t sstream::length() const noexcept {
return getBuffer().length();
}
} // namespace utils::io