diff options
Diffstat (limited to 'runtime/runtime.cc')
| -rw-r--r-- | runtime/runtime.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 11e0bf45f9..36f8e89648 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -336,8 +336,7 @@ Runtime::~Runtime() { << " out of process CPU time " << PrettyDuration(process_cpu_time) << " (" << ratio << ")" << "\n"; - float weighted_allocated_bytes = - static_cast<float>(heap_->GetWeightedAllocatedBytes()) / process_cpu_time; + double weighted_allocated_bytes = heap_->GetWeightedAllocatedBytes() / process_cpu_time; LOG_STREAM(INFO) << "Weighted bytes allocated over CPU time: " << " (" << PrettySize(weighted_allocated_bytes) << ")" << "\n"; |