revert npkit (#748)
This commit is contained in:
@@ -49,7 +49,7 @@ class NpKit {
|
||||
|
||||
static void CollectCpuEvent(uint8_t type, uint32_t size, uint32_t rsvd, uint64_t timestamp, int channel_id);
|
||||
|
||||
static uint64_t GetCpuTimestamp();
|
||||
static uint64_t *GetCpuTimestamp();
|
||||
|
||||
private:
|
||||
static void CpuTimestampUpdateThread();
|
||||
@@ -65,13 +65,12 @@ class NpKit {
|
||||
|
||||
static NpKitEventCollectContext* gpu_collect_contexts_;
|
||||
static NpKitEventCollectContext* cpu_collect_contexts_;
|
||||
|
||||
static uint64_t base_cpu_timestamp_global_;
|
||||
static uint64_t base_cpu_timestamp_local_;
|
||||
static uint64_t base_gpu_timestamp_cpu_;
|
||||
static uint64_t base_gpu_timestamp_gpu_;
|
||||
static uint64_t* cpu_timestamp_;
|
||||
|
||||
static uint64_t rank_;
|
||||
|
||||
static std::thread* cpu_timestamp_update_thread_;
|
||||
static volatile bool cpu_timestamp_update_thread_should_stop_;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user