fuchsia: Stub out timing and memory functions

This functionality isn't (currently) available on Fuchsia from the OS.

Bug: chromium:808287
Change-Id: If017bc762448c437b74cb03587ba35da5d131c75
Reviewed-on: https://webrtc-review.googlesource.com/c/107760
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#25373}
This commit is contained in:
Scott Graham
2018-10-24 15:15:36 -07:00
committed by Commit Bot
parent 9c8ae4b9a1
commit f26e290e33
2 changed files with 10 additions and 1 deletions

View File

@ -61,6 +61,9 @@ int64_t GetProcessResidentSizeBytes() {
return -1;
}
return pmc.WorkingSetSize;
#elif defined(WEBRTC_FUCHSIA)
RTC_LOG_ERR(LS_ERROR) << "GetProcessResidentSizeBytes() not implemented";
return 0;
#else
// Not implemented yet.
static_assert(false,