Chromium Code Reviews| Index: include/v8-profiler.h |
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
| index f2128ce0bed6bb35ebcbdca72cfd6e56d892f892..e642097b1295943e3ae02df8e34a9b4a531dcf8d 100644 |
| --- a/include/v8-profiler.h |
| +++ b/include/v8-profiler.h |
| @@ -61,19 +61,19 @@ class V8_EXPORT CpuProfileNode { |
| * Returns total (self + children) execution time of the function, |
| * in milliseconds, estimated by samples count. |
| */ |
| - double GetTotalTime() const; |
| + V8_DEPRECATED(double GetTotalTime() const); |
| /** |
| * Returns self execution time of the function, in milliseconds, |
| * estimated by samples count. |
| */ |
| - double GetSelfTime() const; |
| + V8_DEPRECATED(double GetSelfTime() const); |
| /** Returns the count of samples where function exists. */ |
| - double GetTotalSamplesCount() const; |
| + V8_DEPRECATED(double GetTotalSamplesCount() const); |
| /** Returns the count of samples where function was currently executing. */ |
| - double GetSelfSamplesCount() const; |
| + unsigned GetSelfSamplesCount() const; |
|
Sven Panne
2013/08/08 11:51:57
Two remarks here:
* Silently changing the sign
yurys
2013/08/08 12:43:49
Ok, let me do this in two steps as I originally in
|
| /** Returns function entry UID. */ |
| unsigned GetCallUid() const; |