Chromium Code Reviews| Index: src/counters.cc |
| diff --git a/src/counters.cc b/src/counters.cc |
| index 911cc3d2391f544198c833d736e1cf3943031051..df4ea0086031a9b5be1c4f06bdd020d52ae5e07e 100644 |
| --- a/src/counters.cc |
| +++ b/src/counters.cc |
| @@ -280,8 +280,8 @@ void RuntimeCallCounter::Reset() { |
| void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { |
| value->BeginArray(name_); |
| - value->AppendLongInteger(count_); |
| - value->AppendLongInteger(time_.InMicroseconds()); |
| + value->AppendString(std::to_string(count_)); |
| + value->AppendString(std::to_string(time_.InMicroseconds())); |
|
alph
2016/12/06 00:54:42
I think it's better to use double for both. 2^52 u
lpy
2016/12/06 01:45:49
Done.
|
| value->EndArray(); |
| } |