Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_memory_profile.cc273 std::vector<IndexMetaPair>* active_allocs) { in InsertSpecialAllocations() argument
288 active_allocs->push_back({--index, special_allocation}); in InsertSpecialAllocations()
305 active_allocs->push_back({--index, special_allocation}); in InsertSpecialAllocations()
362 std::vector<IndexMetaPair> active_allocs; in ProcessActiveAllocations() local
364 active_allocs.push_back(address_and_index_meta.second); in ProcessActiveAllocations()
369 &active_allocs); in ProcessActiveAllocations()
371 std::sort(active_allocs.begin(), active_allocs.end(), MetadataComparator()); in ProcessActiveAllocations()
375 for (int i = 0, end = active_allocs.size(); i < end; i++) { in ProcessActiveAllocations()
377 allocation->set_snapshot_index(active_allocs[i].first); in ProcessActiveAllocations()
378 if (active_allocs[i].first < 0) { in ProcessActiveAllocations()
[all …]