Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/importers/common/
Dslice_tracker_unittest.cc33 struct SliceInfo { struct
37 bool operator==(const SliceInfo& other) const { in operator ==() argument
42 inline void PrintTo(const SliceInfo& info, ::std::ostream* os) { in PrintTo()
46 std::vector<SliceInfo> ToSliceInfo(const tables::SliceTable& slices) { in ToSliceInfo()
47 std::vector<SliceInfo> infos; in ToSliceInfo()
49 infos.emplace_back(SliceInfo{slices.ts()[i], slices.dur()[i]}); in ToSliceInfo()
281 ElementsAre(SliceInfo{0, 10}, SliceInfo{1, 8}, SliceInfo{2, 6})); in TEST()
304 ElementsAre(SliceInfo{0, 10}, SliceInfo{1, 8}, SliceInfo{2, 6})); in TEST()
346 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 3})); in TEST()
370 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 10}, SliceInfo{2, 0}, in TEST()
[all …]
Dslice_tracker.h121 struct SliceInfo { struct
125 using SlicesStack = std::vector<SliceInfo>; argument
171 void MaybeAddTranslatableArgs(SliceInfo& slice_info);
Dslice_tracker.cc295 void SliceTracker::MaybeAddTranslatableArgs(SliceInfo& slice_info) { in MaybeAddTranslatableArgs()
449 SliceInfo{ref.ToRowNumber(), ArgsTracker(context_)}); in StackPush()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set.h58 struct SliceInfo { struct
65 const std::unordered_map<string, SliceInfo>& Slices() const { in Slices()
73 std::unordered_map<string, SliceInfo> slices_;
Dtensor_slice_set.cc55 TensorSliceSet::SliceInfo info = {slice, tag, result_shape.num_elements()}; in Register()
67 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in QueryMeta()