Searched refs:SliceInfo (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/trace_processor/ |
D | slice_tracker_unittest.cc | 33 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 TraceStorage::NestableSlices& slices) { in ToSliceInfo() 47 std::vector<SliceInfo> infos; in ToSliceInfo() 49 infos.emplace_back(SliceInfo{slices.start_ns()[i], slices.durations()[i]}); in ToSliceInfo() 122 ElementsAre(SliceInfo{0, 10}, SliceInfo{1, 8}, SliceInfo{2, 6})); in TEST() 136 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 3})); in TEST() 153 EXPECT_THAT(slices, ElementsAre(SliceInfo{2, 10}, SliceInfo{2, 0}, in TEST() 154 SliceInfo{12, 1}, SliceInfo{13, 1})); in TEST()
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_set.h | 72 struct SliceInfo { struct 80 const std::unordered_map<string, SliceInfo>& Slices() const { in Slices() 88 std::unordered_map<string, SliceInfo> slices_;
|
D | tensor_slice_set.cc | 56 TensorSliceSet::SliceInfo info = {slice, tag, data, in Register() 67 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in Query() 126 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in QueryMeta()
|