equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_JFR_RECORDER_REPOSITORY_JFRRCHUNK_HPP |
25 #ifndef SHARE_VM_JFR_RECORDER_REPOSITORY_JFRRCHUNK_HPP |
26 #define SHARE_VM_JFR_RECORDER_REPOSITORY_JFRRCHUNK_HPP |
26 #define SHARE_VM_JFR_RECORDER_REPOSITORY_JFRRCHUNK_HPP |
27 |
27 |
28 #include "jni.h" |
|
29 #include "jfr/utilities/jfrAllocation.hpp" |
28 #include "jfr/utilities/jfrAllocation.hpp" |
30 #include "jfr/utilities/jfrTypes.hpp" |
|
31 |
29 |
32 class JfrChunk : public JfrCHeapObj { |
30 class JfrChunk : public JfrCHeapObj { |
33 friend class JfrChunkWriter; |
31 friend class JfrChunkWriter; |
34 friend class JfrChunkHeadWriter; |
32 friend class JfrChunkHeadWriter; |
35 private: |
33 private: |
70 |
68 |
71 int64_t previous_start_ticks() const; |
69 int64_t previous_start_ticks() const; |
72 int64_t previous_start_nanos() const; |
70 int64_t previous_start_nanos() const; |
73 int64_t last_chunk_duration() const; |
71 int64_t last_chunk_duration() const; |
74 |
72 |
75 void update_time_to_now(); |
73 void set_time_stamp(); |
|
74 void update(); |
|
75 |
76 void set_path(const char* path); |
76 void set_path(const char* path); |
77 const char* path() const; |
77 const char* path() const; |
78 |
|
79 void update(); |
|
80 |
78 |
81 bool is_started() const; |
79 bool is_started() const; |
82 bool is_finished() const; |
80 bool is_finished() const; |
83 bool is_initial_flush() const; |
81 bool is_initial_flush() const; |
84 |
82 |