/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
soft_rss_limit_mb_test.cc | 27 int num_allocs = kMaxNumAllocs / 4; local 28 for (int i = 0; i < 3; i++, num_allocs *= 2) { 29 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); 31 for (int j = 0; j < num_allocs; j++) { 32 if ((j % (num_allocs / 8)) == 0) { 45 if (zero_results != num_allocs) 47 num_allocs - zero_results); 48 for (int j = 0; j < num_allocs; j++) {
|
/external/tensorflow/tensorflow/core/framework/ |
allocator.cc | 29 this->num_allocs = 0; 44 this->num_allocs, this->max_alloc_size); 84 ++stats_.num_allocs; 111 stats_.num_allocs = 0;
|
allocator_test.cc | 27 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, 40 EXPECT_EQ(stats.num_allocs, num_allocs);
|
allocator.h | 50 int64 num_allocs; // Number of allocations. member in struct:tensorflow::AllocatorStats
|
/system/extras/memory_replay/ |
main.cpp | 43 size_t num_allocs = 0; local 59 num_allocs--; 63 num_allocs++; 66 return num_allocs;
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
sycl_allocator.cc | 49 ++stats_.num_allocs; 76 stats_.num_allocs = 0;
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_bfc_allocator_test.cc | 37 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, 44 EXPECT_EQ(stats.num_allocs, num_allocs);
|
/external/tensorflow/tensorflow/core/common_runtime/ |
bfc_allocator.cc | 320 ++stats_.num_allocs; 690 stats_.num_allocs = 0;
|