| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <errno.h> | 5 #include <errno.h> |
| 6 #include <stdlib.h> | 6 #include <stdlib.h> |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 #include <sys/stat.h> | 8 #include <sys/stat.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 IdleTask* task) override { | 110 IdleTask* task) override { |
| 111 UNREACHABLE(); | 111 UNREACHABLE(); |
| 112 } | 112 } |
| 113 | 113 |
| 114 bool IdleTasksEnabled(v8::Isolate* isolate) override { return false; } | 114 bool IdleTasksEnabled(v8::Isolate* isolate) override { return false; } |
| 115 | 115 |
| 116 double MonotonicallyIncreasingTime() override { | 116 double MonotonicallyIncreasingTime() override { |
| 117 return synthetic_time_in_sec_ += 0.00001; | 117 return synthetic_time_in_sec_ += 0.00001; |
| 118 } | 118 } |
| 119 | 119 |
| 120 using Platform::AddTraceEvent; |
| 120 uint64_t AddTraceEvent(char phase, const uint8_t* categoryEnabledFlag, | 121 uint64_t AddTraceEvent(char phase, const uint8_t* categoryEnabledFlag, |
| 121 const char* name, const char* scope, uint64_t id, | 122 const char* name, const char* scope, uint64_t id, |
| 122 uint64_t bind_id, int numArgs, const char** argNames, | 123 uint64_t bind_id, int numArgs, const char** argNames, |
| 123 const uint8_t* argTypes, const uint64_t* argValues, | 124 const uint8_t* argTypes, const uint64_t* argValues, |
| 124 unsigned int flags) override { | 125 unsigned int flags) override { |
| 125 return 0; | 126 return 0; |
| 126 } | 127 } |
| 127 | 128 |
| 128 void UpdateTraceEventDuration(const uint8_t* categoryEnabledFlag, | 129 void UpdateTraceEventDuration(const uint8_t* categoryEnabledFlag, |
| 129 const char* name, uint64_t handle) override {} | 130 const char* name, uint64_t handle) override {} |
| (...skipping 2621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2751 } | 2752 } |
| 2752 | 2753 |
| 2753 } // namespace v8 | 2754 } // namespace v8 |
| 2754 | 2755 |
| 2755 | 2756 |
| 2756 #ifndef GOOGLE3 | 2757 #ifndef GOOGLE3 |
| 2757 int main(int argc, char* argv[]) { | 2758 int main(int argc, char* argv[]) { |
| 2758 return v8::Shell::Main(argc, argv); | 2759 return v8::Shell::Main(argc, argv); |
| 2759 } | 2760 } |
| 2760 #endif | 2761 #endif |
| OLD | NEW |