45
46 char* _name_space;
47
48 public:
49
50 CollectorCounters(const char* name, int ordinal);
51
52 ~CollectorCounters();
53
54 inline PerfCounter* invocation_counter() const { return _invocations; }
55
56 inline PerfCounter* time_counter() const { return _time; }
57
58 inline PerfVariable* last_entry_counter() const { return _last_entry_time; }
59
60 inline PerfVariable* last_exit_counter() const { return _last_exit_time; }
61
62 const char* name_space() const { return _name_space; }
63 };
64
65 class TraceCollectorStats: public PerfTraceTimedEvent {
66
67 protected:
68 CollectorCounters* _c;
69
70 public:
71 TraceCollectorStats(CollectorCounters* c);
72
73 ~TraceCollectorStats();
74 };
75
76 #endif // SHARE_GC_SHARED_COLLECTORCOUNTERS_HPP
|
45
46 char* _name_space;
47
48 public:
49
50 CollectorCounters(const char* name, int ordinal);
51
52 ~CollectorCounters();
53
54 inline PerfCounter* invocation_counter() const { return _invocations; }
55
56 inline PerfCounter* time_counter() const { return _time; }
57
58 inline PerfVariable* last_entry_counter() const { return _last_entry_time; }
59
60 inline PerfVariable* last_exit_counter() const { return _last_exit_time; }
61
62 const char* name_space() const { return _name_space; }
63 };
64
65 class TraceCollectorStats: public PerfTraceElapsedTimeEvent {
66
67 protected:
68 CollectorCounters* _c;
69
70 public:
71 TraceCollectorStats(CollectorCounters* c);
72
73 ~TraceCollectorStats();
74 };
75
76 #endif // SHARE_GC_SHARED_COLLECTORCOUNTERS_HPP
|