Home
last modified time | relevance | path

Searched refs:clockId (Results 1 – 25 of 37) sorted by relevance

12

/developtools/smartperf_host/trace_streamer/test/unittest/htrace/
Dhtrace_irq_event_test.cpp137 dataSeg.clockId = TS_CLOCK_BOOTTIME;
165 dataSeg.clockId = TS_CLOCK_BOOTTIME;
181 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
210 dataSeg.clockId = TS_CLOCK_BOOTTIME;
241 dataSeg.clockId = TS_CLOCK_BOOTTIME;
256 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
283 dataSeg.clockId = TS_CLOCK_BOOTTIME;
300 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
315 dataSeg3.clockId = TS_CLOCK_BOOTTIME;
341 dataSeg.clockId = TS_CLOCK_BOOTTIME;
[all …]
Dhtrace_sys_vmem_parser_test.cpp72 dataSeg.clockId = TS_CLOCK_REALTIME;
81 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
124 dataSeg.clockId = TS_CLOCK_REALTIME;
133 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
176 dataSeg.clockId = TS_CLOCK_REALTIME;
185 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
239 dataSeg.clockId = TS_CLOCK_REALTIME;
248 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
291 dataSeg.clockId = TS_CLOCK_REALTIME;
300 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
Dhtrace_sys_mem_parser_test.cpp74 dataSeg.clockId = TS_CLOCK_REALTIME;
83 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
127 dataSeg.clockId = TS_CLOCK_REALTIME;
136 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
181 dataSeg.clockId = TS_CLOCK_REALTIME;
190 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
244 dataSeg.clockId = TS_CLOCK_REALTIME;
253 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
294 dataSeg.clockId = TS_CLOCK_REALTIME;
303 memParser->Parse(dataSeg, dataSeg.timeStamp, dataSeg.clockId);
Dhtrace_binder_event_test.cpp118 dataSeg.clockId = TS_CLOCK_BOOTTIME;
145 dataSeg.clockId = TS_CLOCK_BOOTTIME;
161 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
186 dataSeg.clockId = TS_CLOCK_BOOTTIME;
202 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
214 dataSeg3.clockId = TS_CLOCK_BOOTTIME;
240 dataSeg.clockId = TS_CLOCK_BOOTTIME;
253 dataSeg2.clockId = TS_CLOCK_BOOTTIME;
276 dataSeg.clockId = TS_CLOCK_BOOTTIME;
301 dataSeg.clockId = TS_CLOCK_BOOTTIME;
[all …]
Dhtrace_event_parser_test.cpp82 dataSeg.clockId = TS_CLOCK_BOOTTIME;
116 dataSeg.clockId = TS_CLOCK_BOOTTIME;
163 dataSeg.clockId = TS_CLOCK_BOOTTIME;
206 dataSeg.clockId = TS_CLOCK_BOOTTIME;
250 dataSeg.clockId = TS_CLOCK_BOOTTIME;
294 dataSeg.clockId = TS_CLOCK_BOOTTIME;
338 dataSeg.clockId = TS_CLOCK_BOOTTIME;
380 dataSeg.clockId = TS_CLOCK_BOOTTIME;
422 dataSeg.clockId = TS_CLOCK_BOOTTIME;
466 dataSeg.clockId = TS_CLOCK_BOOTTIME;
[all …]
Dhtrace_mem_parser_test.cpp46 dataSeg_.clockId = TS_CLOCK_REALTIME; in SetUp()
105 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
134 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
181 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
222 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
257 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
303 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
347 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
380 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
408 memParser->Parse(dataSeg_, dataSeg_.timeStamp, dataSeg_.clockId);
Dhtrace_cpu_detail_parser_test.cpp57 dataSeg.clockId = TS_CLOCK_REALTIME;
86 dataSeg.clockId = TS_CLOCK_REALTIME;
122 dataSeg.clockId = TS_CLOCK_REALTIME;
170 dataSeg.clockId = TS_CLOCK_REALTIME;
/developtools/profiler/device/plugins/native_daemon/include/
Dhook_common.h105 clockId = CLOCK_REALTIME; in Reset()
123 << ", clockId:" << clockId << ", maxStackDepth:" << std::to_string(maxStackDepth) in ToString()
135 clockid_t clockId = CLOCK_REALTIME; member
Dstack_data_repeater.h46 std::shared_ptr<RawStack> TakeRawData(uint32_t during, clockid_t clockId, uint32_t batchCount,
/developtools/profiler/timestamps/
Dtimestamps.cpp26 clockid_t clockId; member
44 clock_gettime(time.clockId, &time.ts); in main()
/developtools/smartperf_host/trace_streamer/src/base/
Dhtrace_plugin_time_parser.cpp20 void HtracePluginTimeParser::UpdatePluginTimeRange(ClockId clockId, uint64_t asyncTimestamp, uint64… in UpdatePluginTimeRange() argument
24 if (clockId == g_primaryClockId) { in UpdatePluginTimeRange()
Dhtrace_plugin_time_parser.h26 void UpdatePluginTimeRange(ClockId clockId, uint64_t asyncTimestamp, uint64_t syncTimestamp);
Dclock_filter.cpp82 ClockId srcClockId = snapShot[srcId].clockId; in AddClockSnapshot()
85 ClockId desClockId = snapShot[desId].clockId; in AddClockSnapshot()
Dclock_filter.h44 ClockId clockId; member
/developtools/smartperf_host/trace_streamer/src/filter/
Dclock_filter_ex.cpp37 ClockId srcClockId = snapShot[srcId].clockId; in AddClockSnapshot()
43 ClockId desClockId = snapShot[desId].clockId; in AddClockSnapshot()
/developtools/profiler/device/plugins/api/src/
Dbuffer_writer.h50 void SetClockId(clockid_t clockId) override in SetClockId() argument
52 clockId_ = clockId; in SetClockId()
Dplugin_module.cpp105 void PluginModule::SetClockId(clockid_t clockId) in SetClockId() argument
107 clockId_ = clockId; in SetClockId()
108 … PROFILER_LOG_INFO(LOG_CORE, "SetClockId: plugin=%s, clock=%d", GetPluginName().c_str(), clockId); in SetClockId()
110 writerAdapter_->GetWriter()->SetClockId(clockId); in SetClockId()
Dplugin_manager.cpp426 clockid_t clockId = pluginModules_[pluginId]->GetClockId(); in PullResult() local
427 clock_gettime(clockId, &ts); in PullResult()
429 pluginData.set_clock_id(static_cast<ProfilerPluginData_ClockId>(clockId)); in PullResult()
455 clockid_t clockId = pluginModules_[pluginId]->GetClockId(); in PullResult() local
456 clock_gettime(clockId, &ts); in PullResult()
458 pluginData.set_clock_id(static_cast<ProfilerPluginData_ClockId>(clockId)); in PullResult()
/developtools/profiler/device/plugins/api/include/
Dwriter.h27 virtual void SetClockId(clockid_t clockId) {} in SetClockId() argument
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/
Dcommon_stdtype.h122 size_t AppendNewSnapshot(uint8_t clockId, uint64_t ts, const std::string& name) in AppendNewSnapshot() argument
124 clockIds_.emplace_back(clockId); in AppendNewSnapshot()
155 size_t AppendNewDataSourceClockId(const std::string& dataSoruceName, uint8_t clockId) in AppendNewDataSourceClockId() argument
158 clockIds_.emplace_back(clockId); in AppendNewDataSourceClockId()
/developtools/hiperf/interfaces/kits/js/
D@ohos.hiperf.d.ts231 function setClockId(clockId: string): boolean;
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_base.cpp35 auto clockId = reader->GetEbpfDataHeader()->header.clock; in InitEbpfDataParser() local
36 auto itor = ebpfToTSClockType_.find(clockId); in InitEbpfDataParser()
40 clockId_ = ebpfToTSClockType_.at(clockId); in InitEbpfDataParser()
/developtools/profiler/device/base/src/
Dcommon.cpp499 clockid_t clockId = CLOCK_REALTIME; in GetClockId() local
502 clockId = iter->second; in GetClockId()
504 return clockId; in GetClockId()
507 std::string GetClockStr(const int32_t clockId) in GetClockStr() argument
511 if (id == clockId) { in GetClockStr()
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_parser.cpp234 htraceMemParser_->Parse(seg, seg.timeStamp, seg.clockId); in FilterData()
425 BuiltinClocks clockId = TS_CLOCK_REALTIME; in ParseMemory() local
428 clockId = TS_CLOCK_REALTIME; in ParseMemory()
430 dataSourceTypeMemClockid_ = clockId; in ParseMemory()
432 dataSeg.clockId = clockId; in ParseMemory()
488 dataSeg.clockId = clock_; in ParseFtrace()
494 dataSeg.clockId = clock_; in ParseFtrace()
/developtools/profiler/device/plugins/native_hook/src/
Dhook_client.cpp375 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_malloc()
451 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_calloc()
522 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_realloc()
614 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_free()
694 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_mmap()
768 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_munmap()
819 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_prctl()
849 clock_gettime(g_ClientConfig.clockId, &rawdata.ts); in hook_memtrace()

12