Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/gcTraceTime.hpp @ 14442:1174c8abbdb6
Merge
author | kvn |
---|---|
date | Thu, 05 Dec 2013 15:13:12 -0800 |
parents | 86e6d691f2e1 |
children | 0982ec23da03 |
comparison
equal
deleted
inserted
replaced
14441:e7cbc95179c4 | 14442:1174c8abbdb6 |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP | 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP | 26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCTRACETIME_HPP |
27 | 27 |
28 #include "prims/jni_md.h" | 28 #include "prims/jni_md.h" |
29 #include "utilities/ticks.hpp" | |
29 | 30 |
30 class GCTimer; | 31 class GCTimer; |
31 | 32 |
32 class GCTraceTime { | 33 class GCTraceTime { |
33 const char* _title; | 34 const char* _title; |
34 bool _doit; | 35 bool _doit; |
35 bool _print_cr; | 36 bool _print_cr; |
36 GCTimer* _timer; | 37 GCTimer* _timer; |
37 jlong _start_counter; | 38 Ticks _start_counter; |
38 | 39 |
39 public: | 40 public: |
40 GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer); | 41 GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer); |
41 ~GCTraceTime(); | 42 ~GCTraceTime(); |
42 }; | 43 }; |