Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 94) sorted by relevance

1234

/art/test/028-array-write/src/
DMain.java27 static public void report(long start, long end) { in report() argument
32 System.out.println("Finished in " + ((end - start) / 1000000.0) in report()
42 long start, end; in writeTest() local
47 start = System.nanoTime(); in writeTest()
52 report(start, end); in writeTest()
56 long start, end; in copyTest() local
63 start = System.nanoTime(); in copyTest()
70 report(start, end); in copyTest()
/art/runtime/gc/allocator/
Ddlmalloc.cc53 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument
59 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize)); in DlmallocMadviseCallback()
61 if (end > start) { in DlmallocMadviseCallback()
62 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); in DlmallocMadviseCallback()
63 int rc = madvise(start, length, MADV_DONTNEED); in DlmallocMadviseCallback()
73 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg… in DlmallocBytesAllocatedCallback() argument
81 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a… in DlmallocObjectsAllocatedCallback() argument
Ddlmalloc.h40 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/);
45 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg…
46 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a…
/art/test/023-many-interfaces/src/
DManyInterfaces.java173 private static void report(String label, long start, long end, int iter, in report() argument
176 System.out.println(label + ": " + (end - start) / 1000 + "us" in report()
177 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report()
194 long start, end; in run() local
205 start = System.nanoTime(); in run()
208 report("testIface001", start, end, iter, rept); in run()
210 start = System.nanoTime(); in run()
213 report("testIface049", start, end, iter, rept); in run()
215 start = System.nanoTime(); in run()
218 report("testIface099", start, end, iter, rept); in run()
[all …]
/art/runtime/gc/accounting/
Dmod_union_table.cc236 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in Verify() local
237 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify()
246 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local
247 uintptr_t end = start + CardTable::kCardSize; in Dump()
248 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << ","; in Dump()
253 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local
254 uintptr_t end = start + CardTable::kCardSize; in Dump()
255 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "->{"; in Dump()
273 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in UpdateAndMarkReferences() local
274 uintptr_t end = start + CardTable::kCardSize; in UpdateAndMarkReferences()
[all …]
Dremembered_set.cc134 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in UpdateAndMarkReferences() local
135 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))); in UpdateAndMarkReferences()
136 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
158 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local
159 auto end = start + CardTable::kCardSize; in Dump()
160 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "\n"; in Dump()
168 auto start = reinterpret_cast<byte*>(card_table->AddrFromCard(card_addr)); in AssertAllDirtyCardsAreWithinSpace() local
169 auto end = start + CardTable::kCardSize; in AssertAllDirtyCardsAreWithinSpace()
170 DCHECK_LE(space_->Begin(), start); in AssertAllDirtyCardsAreWithinSpace()
Dcard_table-inl.h66 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan() local
67 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
88 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(reinterpret_cast<byte*>(word_cur))); in Scan() local
96 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
100 start += kCardSize; in Scan()
109 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan() local
110 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
Dcard_table_test.cc114 byte* start = cstart + start_offset; in TEST_F() local
118 card_table_->ModifyCardsAtomic(start, end, visitor, visitor); in TEST_F()
120 for (byte* cur = start - kCardSize; cur >= HeapBegin(); cur -= kCardSize) { in TEST_F()
127 for (byte* cur = start; cur < AlignUp(end, kCardSize); cur += kCardSize) { in TEST_F()
131 …LOG(ERROR) << reinterpret_cast<void*>(start) << " " << reinterpret_cast<void*>(cur) << " " << rein… in TEST_F()
/art/test/003-omnibus-opcodes/src/
DIntMath.java279 static void divLiteralTestBody(int start, int count) { in divLiteralTestBody() argument
286 normal = (start+i) / j; in divLiteralTestBody()
287 special = (start+i) / 3; in divLiteralTestBody()
290 normal = (start+i) / j; in divLiteralTestBody()
291 special = (start+i) / 4; in divLiteralTestBody()
294 normal = (start+i) / j; in divLiteralTestBody()
295 special = (start+i) / 5; in divLiteralTestBody()
298 normal = (start+i) / j; in divLiteralTestBody()
299 special = (start+i) / 6; in divLiteralTestBody()
302 normal = (start+i) / j; in divLiteralTestBody()
[all …]
/art/test/004-InterfaceTest/src/
DMain.java25 long start = System.currentTimeMillis(); in test_virtual() local
30 return (end - start); in test_virtual()
36 long start = System.currentTimeMillis(); in test_interface() local
41 return (end - start); in test_interface()
/art/test/109-suspend-check/src/
DMain.java26 forLoop.start(); in main()
27 whileLoop.start(); in main()
28 doWhileLoop.start(); in main()
29 garbage.start(); in main()
/art/test/078-polymorphic-virtual/src/
DMain.java23 derived1.start(); in main()
24 derived2.start(); in main()
25 derived3.start(); in main()
/art/test/051-thread/src/
DMain.java47 thread.start(); in testThreadCapacity()
75 t.start(); in testThreadDaemons()
130 thread.start(); in testSetName()
147 t1.start(); in testThreadPriorities()
155 t2.start(); in testThreadPriorities()
/art/compiler/
Dvector_output_stream.h36 const uint8_t* start = reinterpret_cast<const uint8_t*>(buffer); in WriteFully() local
37 vector_.insert(vector_.end(), &start[0], &start[byte_count]); in WriteFully()
/art/test/053-wait-some/src/
DMain.java33 long start, end; in doit() local
48 start = System.currentTimeMillis(); in doit()
56 long elapsed = end - start; in doit()
/art/runtime/
Dmemory_region.h44 byte* start() const { return reinterpret_cast<byte*>(pointer_); } in start() function
45 byte* end() const { return start() + size_; } in end()
83 return MemoryRegion(reinterpret_cast<void*>(start() + offset), size); in Subregion()
96 return reinterpret_cast<T*>(start() + offset); in ComputeInternalPointer()
Dthread-inl.h192 inline void Thread::SetThreadLocalAllocationStack(mirror::Object** start, mirror::Object** end) { in SetThreadLocalAllocationStack() argument
194 DCHECK(start != nullptr); in SetThreadLocalAllocationStack()
196 DCHECK_ALIGNED(start, sizeof(mirror::Object*)); in SetThreadLocalAllocationStack()
198 DCHECK_LT(start, end); in SetThreadLocalAllocationStack()
200 tlsPtr_.thread_local_alloc_stack_top = start; in SetThreadLocalAllocationStack()
/art/test/050-sync-test/src/
DMain.java54 one.start(); in countTest()
63 two.start(); in countTest()
84 sleepy.start(); in interruptTest()
85 pesky.start(); in interruptTest()
/art/test/096-array-copy-concurrent-gc/src/
DMain.java28 new ObjectCreatorThread(true).start(); in main()
29 new ObjectCreatorThread(false).start(); in main()
30 new ObjectCreatorThread(false).start(); in main()
/art/test/067-preemptive-unpark/src/
DMain.java15 test.start(); in main()
95 long start = System.currentTimeMillis(); in run() local
97 long elapsed = System.currentTimeMillis() - start; in run()
/art/runtime/mirror/
Dstring.cc36 int32_t String::FastIndexOf(int32_t ch, int32_t start) { in FastIndexOf() argument
38 if (start < 0) { in FastIndexOf()
39 start = 0; in FastIndexOf()
40 } else if (start > count) { in FastIndexOf()
41 start = count; in FastIndexOf()
44 const uint16_t* p = chars + start; in FastIndexOf()
/art/test/002-sleep/src/
DMain.java11 long start = System.currentTimeMillis(); in main() local
13 long elapsed = System.currentTimeMillis() - start; in main()
/art/compiler/optimizing/
Dssa_liveness_analysis.h55 LiveRange(size_t start, size_t end, LiveRange* next) : start_(start), end_(end), next_(next) { in LiveRange() argument
56 DCHECK_LT(start, end); in LiveRange()
189 void AddRange(size_t start, size_t end) { in AddRange() argument
191 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, first_range_); in AddRange()
194 first_range_->start_ = start; in AddRange()
198 first_range_ = new (allocator_) LiveRange(start, end, first_range_); in AddRange()
202 void AddLoopRange(size_t start, size_t end) { in AddLoopRange() argument
205 DCHECK_LE(start, first_range_->GetStart()); in AddLoopRange()
210 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, nullptr); in AddLoopRange()
213 first_range_->start_ = start; in AddLoopRange()
/art/test/030-bad-finalizer/src/
DMain.java53 long start, end; in finalize() local
54 start = System.nanoTime(); in finalize()
/art/test/098-ddmc/
Dexpected.txt2 …en: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 num…
14 …en: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 num…
23 …en: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 num…

1234