Home
last modified time | relevance | path

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

/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsoft_rss_limit_mb_test.cc27 int num_allocs = kMaxNumAllocs / 4; in main() local
28 for (int i = 0; i < 3; i++, num_allocs *= 2) { in main()
29 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); in main()
31 for (int j = 0; j < num_allocs; j++) { in main()
32 if ((j % (num_allocs / 8)) == 0) { in main()
45 if (zero_results != num_allocs) in main()
47 num_allocs - zero_results); in main()
48 for (int j = 0; j < num_allocs; j++) { in main()
/external/grpc-grpc/test/core/iomgr/
Dresource_quota_test.cc695 int num_allocs = 0; in test_one_slice() local
696 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice()
702 const int start_allocs = num_allocs; in test_one_slice()
706 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice()
727 int num_allocs = 0; in test_one_slice_deleted_late() local
728 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice_deleted_late()
734 const int start_allocs = num_allocs; in test_one_slice_deleted_late()
738 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice_deleted_late()
769 int num_allocs = 0; in test_negative_rq_free_pool() local
770 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_negative_rq_free_pool()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h92 stats_.num_allocs = 0; in ClearStats()
103 ++stats_.num_allocs; in IncrementStats()
256 stats_.num_allocs = l_stats->num_allocs + s_stats->num_allocs; in GetStats()
Dbfc_allocator.cc336 ++stats_.num_allocs; in FindChunkPtr()
696 stats_.num_allocs = 0; in ClearStats()
/external/tensorflow/tensorflow/stream_executor/
Dallocator_stats.h30 int64 num_allocs; // Number of allocations. member
40 : num_allocs(0), in AllocatorStats()
Dallocator_stats.cc29 this->peak_bytes_in_use, this->num_allocs, this->largest_alloc_size); in DebugString()
/external/tensorflow/tensorflow/core/framework/
Dallocator_test.cc27 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
43 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()
Dallocator.cc37 this->peak_bytes_in_use, this->num_allocs, this->largest_alloc_size); in DebugString()
125 ++stats_.num_allocs; in AllocateRaw()
160 stats_.num_allocs = 0; in ClearStats()
Dallocator.h61 int64 num_allocs; // Number of allocations. member
71 : num_allocs(0), in AllocatorStats()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.cc49 ++stats_.num_allocs; in AllocateRaw()
76 stats_.num_allocs = 0; in ClearStats()
/external/bcc/tools/lib/
Duobjnew.py182 data = sorted(data.items(), key=lambda kv: kv[1].num_allocs)
196 (obj_type, value.num_allocs, value.total_size))
/external/google-benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/external/libcxx/utils/google-benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc63 tf_stats.num_allocs = se_stats->num_allocs; in GetStats()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc38 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
48 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()
/external/google-benchmark/src/
Dbenchmark_runner.cc95 memory_iterations ? static_cast<double>(memory_result.num_allocs) / in CreateRunReport()
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_runner.cc95 memory_iterations ? static_cast<double>(memory_result.num_allocs) / in CreateRunReport()
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h1507 Result() : num_allocs(0), max_bytes_used(0) {} in Result()
1510 int64_t num_allocs; member
/external/google-benchmark/include/benchmark/
Dbenchmark.h1507 Result() : num_allocs(0), max_bytes_used(0) {} in Result()
1510 int64_t num_allocs; member