Home
last modified time | relevance | path

Searched refs:snapShot (Results 1 – 5 of 5) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/filter/
Dclock_filter_ex.cpp31 void ClockFilterEx::AddClockSnapshot(const std::vector<SnapShot>& snapShot) in AddClockSnapshot() argument
36 for (srcId = 0; srcId < snapShot.size() - 1; ++srcId) { in AddClockSnapshot()
37 ClockId srcClockId = snapShot[srcId].clockId; in AddClockSnapshot()
38 uint64_t srcTs = snapShot[srcId].ts; in AddClockSnapshot()
42 for (desId = srcId + 1; desId < snapShot.size(); ++desId) { in AddClockSnapshot()
43 ClockId desClockId = snapShot[desId].clockId; in AddClockSnapshot()
44 uint64_t desTs = snapShot[desId].ts; in AddClockSnapshot()
45 if ((srcId == snapShot.size() - theDataBeforeLast) and (desId == snapShot.size() - 1)) { in AddClockSnapshot()
Dclock_filter_ex.h53 void AddClockSnapshot(const std::vector<SnapShot>& snapShot);
/developtools/smartperf_host/trace_streamer/src/base/
Dclock_filter.cpp77 void ClockFilter::AddClockSnapshot(const std::vector<SnapShot>& snapShot) in AddClockSnapshot() argument
81 for (srcId = 0; srcId < snapShot.size() - 1; srcId++) { in AddClockSnapshot()
82 ClockId srcClockId = snapShot[srcId].clockId; in AddClockSnapshot()
83 uint64_t srcTs = snapShot[srcId].ts; in AddClockSnapshot()
84 for (desId = srcId + 1; desId < snapShot.size(); desId++) { in AddClockSnapshot()
85 ClockId desClockId = snapShot[desId].clockId; in AddClockSnapshot()
86 uint64_t desTs = snapShot[desId].ts; in AddClockSnapshot()
108 std::vector<SnapShot> snapShot; in InitSnapShotTimeRange() local
112 snapShot.push_back(SnapShot{TS_CLOCK_BOOTTIME, profilerSDKTraceFileHeader_->data.boottime}); in InitSnapShotTimeRange()
117 snapShot.push_back(SnapShot{TS_CLOCK_REALTIME, profilerSDKTraceFileHeader_->data.realtime}); in InitSnapShotTimeRange()
[all …]
Dclock_filter.h63 void AddClockSnapshot(const std::vector<SnapShot>& snapShot);
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_clock_detail_parser.cpp50 std::vector<SnapShot> snapShot; in Parse() local
57snapShot.push_back(SnapShot{static_cast<ClockId>(id), time.tv_nsec() + time.tv_sec() * SEC_TO_NS}); in Parse()
59 if (!snapShot.empty()) { in Parse()
60 streamFilters_->clockFilter_->AddClockSnapshot(snapShot); in Parse()
76 std::vector<SnapShot> snapShot; in Parse() local
81 snapShot.push_back(SnapShot{TS_CLOCK_BOOTTIME, profilerTraceFileHeader->data.boottime}); in Parse()
86 snapShot.push_back(SnapShot{TS_CLOCK_REALTIME, profilerTraceFileHeader->data.realtime}); in Parse()
91snapShot.push_back(SnapShot{TS_CLOCK_REALTIME_COARSE, profilerTraceFileHeader->data.realtimeCoarse… in Parse()
96 snapShot.push_back(SnapShot{TS_MONOTONIC, profilerTraceFileHeader->data.monotonic}); in Parse()
101snapShot.push_back(SnapShot{TS_MONOTONIC_COARSE, profilerTraceFileHeader->data.monotonicCoarse}); in Parse()
[all …]