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

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

Issue 11412106: Support VTune's JIT interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: introduce CodeObserver interface Created 8 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
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.
4
5 #ifndef VM_VTUNE_H_
6 #define VM_VTUNE_H_
7
8 #include "vm/dart.h"
9
10 namespace dart {
11
12 class VTuneCodeObserver : public CodeObserver {
Ivan Posva 2012/11/27 09:11:20 Do not even define this if DART_VTUNE_SUPPORT is n
Vyacheslav Egorov (Google) 2012/11/27 16:26:12 Done.
13 public:
14 virtual bool IsActive() const;
15
16 virtual void Notify(const char* name,
17 uword base,
18 uword prologue_offset,
19 uword size,
20 bool optimized);
21 };
22
23
24 } // namespace dart
25
26 #endif // VM_VTUNE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698