Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: src/d8.h

Issue 1899133004: [Interpreter] Add Ignition statistics JavaScript extension. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef V8_D8_H_ 5 #ifndef V8_D8_H_
6 #define V8_D8_H_ 6 #define V8_D8_H_
7 7
8 #ifndef V8_SHARED 8 #ifndef V8_SHARED
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/time.h" 10 #include "src/base/platform/time.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 static CounterCollection* counters_; 454 static CounterCollection* counters_;
455 static base::OS::MemoryMappedFile* counters_file_; 455 static base::OS::MemoryMappedFile* counters_file_;
456 static base::LazyMutex context_mutex_; 456 static base::LazyMutex context_mutex_;
457 static const base::TimeTicks kInitialTicks; 457 static const base::TimeTicks kInitialTicks;
458 458
459 static base::LazyMutex workers_mutex_; 459 static base::LazyMutex workers_mutex_;
460 static bool allow_new_workers_; 460 static bool allow_new_workers_;
461 static i::List<Worker*> workers_; 461 static i::List<Worker*> workers_;
462 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_; 462 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_;
463 463
464 static void WriteIgnitionDispatchCountersFile(v8::Isolate* isolate);
464 static Counter* GetCounter(const char* name, bool is_histogram); 465 static Counter* GetCounter(const char* name, bool is_histogram);
465 static Local<String> Stringify(Isolate* isolate, Local<Value> value); 466 static Local<String> Stringify(Isolate* isolate, Local<Value> value);
466 #endif // !V8_SHARED 467 #endif // !V8_SHARED
467 static void Initialize(Isolate* isolate); 468 static void Initialize(Isolate* isolate);
468 static void RunShell(Isolate* isolate); 469 static void RunShell(Isolate* isolate);
469 static bool SetOptions(int argc, char* argv[]); 470 static bool SetOptions(int argc, char* argv[]);
470 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); 471 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
471 }; 472 };
472 473
473 474
474 } // namespace v8 475 } // namespace v8
475 476
476 477
477 #endif // V8_D8_H_ 478 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698