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.cc32 struct SliceInfo { struct
36 bool operator==(const SliceInfo& other) const { in operator ==() argument
41 inline void PrintTo(const SliceInfo& info, ::std::ostream* os) { in PrintTo()
45 std::vector<SliceInfo> ToSliceInfo(const tables::SliceTable& slices) { in ToSliceInfo()
46 std::vector<SliceInfo> infos; in ToSliceInfo()
48 infos.emplace_back(SliceInfo{slices.ts()[i], slices.dur()[i]}); in ToSliceInfo()
191 ElementsAre(SliceInfo{0, 10}, SliceInfo{1, 8}, SliceInfo{2, 6})); in TEST()
229 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 3})); in TEST()
251 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 10}, SliceInfo{2, 0}, in TEST()
252 SliceInfo{12, 1}, SliceInfo{13, 1})); in TEST()
[all …]
Dslice_tracker.h113 struct SliceInfo { struct
117 using SlicesStack = std::vector<SliceInfo>; argument
Dslice_tracker.cc379 SliceInfo{slice_idx, 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()