Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |