Searched refs:SliceInfo (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/trace_processor/importers/common/ |
D | slice_tracker_unittest.cc | 32 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 …]
|
D | slice_tracker.h | 113 struct SliceInfo { struct 117 using SlicesStack = std::vector<SliceInfo>; argument
|
D | slice_tracker.cc | 379 SliceInfo{slice_idx, ArgsTracker(context_)}); in StackPush()
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_set.h | 58 struct SliceInfo { struct 65 const std::unordered_map<string, SliceInfo>& Slices() const { in Slices() 73 std::unordered_map<string, SliceInfo> slices_;
|
D | tensor_slice_set.cc | 55 TensorSliceSet::SliceInfo info = {slice, tag, result_shape.num_elements()}; in Register() 67 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in QueryMeta()
|