Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator_test.cc86 EXPECT_EQ(4, records[0].alloc_bytes); in TEST()
87 EXPECT_EQ(12, records[1].alloc_bytes); in TEST()
110 EXPECT_LE(4, records[0].alloc_bytes); in TEST()
111 EXPECT_GE(-4, records[1].alloc_bytes); in TEST()
112 EXPECT_LE(12, records[2].alloc_bytes); in TEST()
113 EXPECT_GE(-12, records[3].alloc_bytes); in TEST()
136 EXPECT_EQ(12, records[0].alloc_bytes); in TEST()
137 EXPECT_EQ(-12, records[1].alloc_bytes); in TEST()
138 EXPECT_EQ(4, records[2].alloc_bytes); in TEST()
139 EXPECT_EQ(-4, records[3].alloc_bytes); in TEST()
Dtracking_allocator.h47 : alloc_bytes(a_btyes), alloc_micros(a_micros) {} in AllocRecord()
50 int64 alloc_bytes; member
Dstep_stats.proto19 int64 alloc_bytes = 2; field
/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c144 static void child_loop_alloc(unsigned long long alloc_bytes) in child_loop_alloc() argument
161 if (bytecount >= alloc_bytes) in child_loop_alloc()
180 unsigned long long alloc_bytes = alloc_maxbytes; in mem_test() local
192 alloc_bytes = MIN(ALLOC_THRESHOLD, alloc_bytes); in mem_test()
193 child_loop_alloc(alloc_bytes); in mem_test()
198 if (alloc_bytes <= ALLOC_THRESHOLD) in mem_test()
201 alloc_bytes -= ALLOC_THRESHOLD; in mem_test()
/external/libchrome/base/debug/
Dthread_heap_usage_tracker_unittest.cc239 EXPECT_EQ(0U, u1.alloc_bytes); in TEST_F()
253 EXPECT_EQ(kAllocSize, u2.alloc_bytes); in TEST_F()
269 EXPECT_EQ(0U, u1.alloc_bytes); in TEST_F()
283 EXPECT_EQ(kAllocSize + kAllocationPadding, u2.alloc_bytes); in TEST_F()
298 EXPECT_EQ(0U, u1.alloc_bytes); in TEST_F()
315 EXPECT_EQ(kAllocSize, u2.alloc_bytes); in TEST_F()
333 EXPECT_EQ(kAllocSize, usage.alloc_bytes); in TEST_F()
345 EXPECT_EQ(kAllocSize, usage_tracker.usage().alloc_bytes); in TEST_F()
372 EXPECT_EQ(kAllocSize + kLargerAllocSize, usage_tracker.usage().alloc_bytes); in TEST_F()
496 EXPECT_EQ(usage.alloc_bytes + kInnerLargerAllocSize, current.alloc_bytes); in TEST_F()
[all …]
Dthread_heap_usage_tracker.cc89 usage->alloc_bytes += estimate; in RecordAlloc()
94 if (usage->alloc_bytes > usage->free_bytes) { in RecordAlloc()
95 uint64_t allocated_bytes = usage->alloc_bytes - usage->free_bytes; in RecordAlloc()
100 usage->alloc_bytes += size; in RecordAlloc()
280 uint64_t outer_net_alloc_bytes = usage_.alloc_bytes - usage_.free_bytes; in Stop()
288 thread_usage_->alloc_bytes += usage_.alloc_bytes; in Stop()
Dthread_heap_usage_tracker.h28 uint64_t alloc_bytes; member
/external/tensorflow/tensorflow/python/profiler/internal/
Drun_metadata_test.py153 self.assertGreater(mm_allocs[0].alloc_bytes, 0)
155 self.assertLess(mm_allocs[1].alloc_bytes, 0)
157 self.assertEqual(mm_allocs[0].alloc_bytes + mm_allocs[1].alloc_bytes, 0)
/external/libcups/cups/
Dstring.c529 _cupsStrStatistics(size_t *alloc_bytes, /* O - Allocated bytes */ in _cupsStrStatistics() argument
566 if (alloc_bytes) in _cupsStrStatistics()
567 *alloc_bytes = abytes; in _cupsStrStatistics()
Dstring-private.h191 extern size_t _cupsStrStatistics(size_t *alloc_bytes, size_t *total_bytes) _CUPS_PRIVATE;
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc492 int64 alloc_bytes) { in AddTraceMe() argument
494 [this, traceme_name, chunk_ptr, req_bytes, alloc_bytes]() in AddTraceMe()
512 {"allocation_bytes", alloc_bytes}, in AddTraceMe()
656 int64 alloc_bytes = chunk->size; in DeallocateRawInternal() local
670 AddTraceMe("MemoryDeallocation", chunk_ptr, req_bytes, alloc_bytes); in DeallocateRawInternal()
Dstep_stats_collector.cc189 r->set_alloc_bytes(record.alloc_bytes); in Finalize()
467 cur_bytes += r.alloc_bytes; in ReportAllocsOnResourceExhausted()
Dbfc_allocator.h130 int64 req_bytes, int64 alloc_bytes)
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc156 allocs[alloc.alloc_micros()] += alloc.alloc_bytes(); in TrackNode()
157 dev.tracked_allocations[alloc.alloc_micros()] += alloc.alloc_bytes(); in TrackNode()
/external/libcups/scheduler/
Dmain.c1063 alloc_bytes, /* Allocated string bytes */ in main() local
1086 string_count = _cupsStrStatistics(&alloc_bytes, &total_bytes); in main()
1092 CUPS_LLCAST alloc_bytes); in main()