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

Side by Side Diff: runtime/vm/thread.h

Issue 1296353002: Add --timing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « runtime/vm/os_thread.h ('k') | runtime/vm/thread.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 (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_THREAD_H_ 5 #ifndef VM_THREAD_H_
6 #define VM_THREAD_H_ 6 #define VM_THREAD_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/os_thread.h" 9 #include "vm/os_thread.h"
10 #include "vm/store_buffer.h" 10 #include "vm/store_buffer.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static intptr_t OffsetFromThread(const RuntimeEntry* runtime_entry); 250 static intptr_t OffsetFromThread(const RuntimeEntry* runtime_entry);
251 251
252 TimelineEventBlock* timeline_block() const { 252 TimelineEventBlock* timeline_block() const {
253 return state_.timeline_block; 253 return state_.timeline_block;
254 } 254 }
255 255
256 void set_timeline_block(TimelineEventBlock* block) { 256 void set_timeline_block(TimelineEventBlock* block) {
257 state_.timeline_block = block; 257 state_.timeline_block = block;
258 } 258 }
259 259
260 void CloseTimelineBlock();
260 class Log* log() const; 261 class Log* log() const;
261 262
262 LongJumpScope* long_jump_base() const { return state_.long_jump_base; } 263 LongJumpScope* long_jump_base() const { return state_.long_jump_base; }
263 void set_long_jump_base(LongJumpScope* value) { 264 void set_long_jump_base(LongJumpScope* value) {
264 state_.long_jump_base = value; 265 state_.long_jump_base = value;
265 } 266 }
266 267
267 ThreadId id() const { 268 ThreadId id() const {
268 ASSERT(id_ != OSThread::kInvalidThreadId); 269 ASSERT(id_ != OSThread::kInvalidThreadId);
269 return id_; 270 return id_;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 friend class ApiZone; 328 friend class ApiZone;
328 friend class Isolate; 329 friend class Isolate;
329 friend class StackZone; 330 friend class StackZone;
330 friend class ThreadRegistry; 331 friend class ThreadRegistry;
331 DISALLOW_COPY_AND_ASSIGN(Thread); 332 DISALLOW_COPY_AND_ASSIGN(Thread);
332 }; 333 };
333 334
334 } // namespace dart 335 } // namespace dart
335 336
336 #endif // VM_THREAD_H_ 337 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/os_thread.h ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698