Mercurial > hg > truffle
comparison src/share/vm/trace/noTraceBackend.hpp @ 13400:86e6d691f2e1
8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
author | mgronlun |
---|---|
date | Sat, 23 Nov 2013 12:25:13 +0100 |
parents | f2110083203d |
children | 82d3e7b5277a |
comparison
equal
deleted
inserted
replaced
13399:260ac69dc096 | 13400:86e6d691f2e1 |
---|---|
23 */ | 23 */ |
24 #ifndef SHARE_VM_TRACE_NOTRACEBACKEND_HPP | 24 #ifndef SHARE_VM_TRACE_NOTRACEBACKEND_HPP |
25 #define SHARE_VM_TRACE_NOTRACEBACKEND_HPP | 25 #define SHARE_VM_TRACE_NOTRACEBACKEND_HPP |
26 | 26 |
27 #include "prims/jni.h" | 27 #include "prims/jni.h" |
28 | 28 #include "trace/traceTime.hpp" |
29 typedef jlong TracingTime; | |
30 typedef jlong RelativeTracingTime; | |
31 | 29 |
32 class NoTraceBackend { | 30 class NoTraceBackend { |
33 public: | 31 public: |
34 static TracingTime time() { | 32 static TracingTime time() { |
35 return 0; | 33 return 0; |
42 }; | 40 }; |
43 | 41 |
44 typedef NoTraceBackend Tracing; | 42 typedef NoTraceBackend Tracing; |
45 | 43 |
46 #endif | 44 #endif |
47 | |
48 |