/dalvik/dx/tests/089-dex-define-object/ |
H A D | Object.java | 45 public final void wait(long time) { argument 46 wait(time, 0); 49 public final native void wait(long time, int frac); argument
|
/dalvik/vm/hprof/ |
H A D | HprofOutput.c | 16 #include <sys/time.h> 18 #include <time.h> 109 /* The current time, in milliseconds since 0:00 GMT, 1/1/70. 117 /* u4: high word of the 64-bit time. 122 /* u4: low word of the 64-bit time. 125 fwrite(buf, 1, sizeof(u4), fp); //xxx fix the time 137 U4_TO_BUF_BE(headBuf, 1, rec->time); 163 hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time) argument 177 rec->time = time; [all...] |
H A D | Hprof.c | 30 #include <sys/time.h> 31 #include <time.h>
|
H A D | Hprof.h | 103 * u4 TIME: number of microseconds since the time stamp in the header 110 u4 time; member in struct:hprof_record_t 196 int hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time);
|
/dalvik/tools/dmtracedump/ |
H A D | CreateTestTrace.c | 31 #include <sys/time.h> 32 #include <time.h> 64 unsigned int time; member in struct:dataRecord 102 * where the first column is the time, the second column is the thread id, 106 * more space. In the example above, A is called at time 4, A calls B at 107 * time 6, B returns at time 8, and A returns at time 10. Thread 1 is the 116 * In this file format, the thread id is always 1, and the time starts at 121 unsigned int time local 145 int time = strtoul(cp, &cp, 0); local [all...] |
H A D | TraceDump.c | 32 #include <time.h> 181 uint64_t topExclusive; /* non-recursive exclusive time */ 219 // Note: remTimes keeps a sum of 'un-allocated' time for each thread, in case 258 uint32_t flags; /* 1st bit = include cross-thread time */ 371 * methods into decreasing order of exclusive elapsed time. 409 * methods into decreasing order of inclusive elapsed time. 448 * threads into decreasing order of elapsed time. 479 * TimedMethods into decreasing order of inclusive elapsed time. 542 * classes into decreasing order of exclusive elapsed time. 607 * unique methods into decreasing order of exclusive elapsed time 1903 uint64_t time; local [all...] |
/dalvik/vm/alloc/ |
H A D | HeapInternal.h | 22 #include <time.h> // for struct timespec 56 * These lists are cleared and rebuilt each time the GC runs. 77 /* If heapWorkerCurrentObject is non-null, this gives the time when 78 * HeapWorker started executing that method. The time value must come 86 /* If any fields are non-zero, indicates the next (absolute) time that
|
H A D | DdmHeap.c | 19 #include <sys/time.h> 20 #include <time.h> 87 /* The current time, in milliseconds since 0:00 GMT, 1/1/70.
|
H A D | Heap.c | 35 #include <sys/time.h> 260 // big objects in a row, and we hit the frag case each time. 266 // (or, at least, there are only 0-5 objects swept each time) 319 * time. The VM spec requires that all SoftReferences have 331 //TODO: maybe wait for finalizers and try one last time 425 * This is enabled at compile time because it requires us to do a 536 * RMW will have completed by the time any other thread 691 (int) time(NULL), (int) getpid()); 842 /* Now's a good time to adjust the heap size, since 867 * in the next time the [all...] |
H A D | HeapWorker.c | 26 #include <sys/time.h> 114 * amount of time inside a finalizer. 146 * getting any CPU time because we're stuck in a background 219 * the current time so that other threads can detect 354 clock_gettime(CLOCK_MONOTONIC, &now); // relative time 357 gettimeofday(&tvnow, NULL); // absolute time 377 * time we are run will coincide with GC inactivity so 421 * no guarantee that the next time we are run will coincide
|
/dalvik/vm/ |
H A D | SignalCatcher.c | 29 #include <sys/time.h> 109 time_t now = time(NULL);
|
H A D | Misc.h | 27 #include <sys/time.h> 218 * Get the current time, in nanoseconds. This is "relative" time, meaning 219 * it could be wall-clock time or a monotonic counter, and is only suitable 220 * for computing time deltas. 225 * Get the current time, in microseconds. This is "relative" time, meaning 226 * it could be wall-clock time or a monotonic counter, and is only suitable 227 * for computing time deltas. 234 * Get the current time, i [all...] |
H A D | Android.mk | 117 # time. When building this target as a regular static library, certain
|
H A D | Misc.c | 26 #include <time.h> 27 #include <sys/time.h> 118 * other hand, we can make Eclipse time out if we're showing 534 * Get a notion of the current time, in nanoseconds. This is meant for 536 * should not be used to get the current date/time. 552 * Get the per-thread CPU time, in nanoseconds. 554 * Only useful for time deltas. 568 * Get the per-thread CPU time, in nanoseconds, for the specified thread. 589 * to sleep for a period of time not to exceed "maxTotalSleep". 592 * brief time [all...] |
H A D | Profile.c | 25 #include <sys/time.h> 26 #include <time.h> 49 * u8 start date/time in usec 54 * u4 time delta since start, in usec 68 * Get the wall-clock date/time, in usec. 79 * Get the current time, in microseconds. 82 * same time across all threads. If we use CLOCK_THREAD_CPUTIME_ID, we 137 * Boot-time init. 395 /* reset our notion of the start time for all CPU threads */ 514 /* compute elapsed time */ [all...] |
H A D | Sync.c | 40 #include <time.h> 41 #include <sys/time.h> 111 * Only one thread can own the monitor at any time. There may be several 113 * threads may be getting interrupted or notified at any given time. 146 * the cleanup at GC time significantly faster. 153 /* stack trace, established the first time we locked the object */ 422 /* Emit the wait time, 5 bytes. */ 661 * Converts the given relative waiting time into an absolute time. 679 LOGV("NOTE: end time exceed [all...] |
H A D | Thread.c | 26 #include <sys/time.h> 195 resources at the same time. It's not clear if this is a real concern. 571 * the same time we're posting an event. 574 * chaining cells around the same time. 766 /* fill these in, since they weren't ready at dvmCreateJNIEnv time */ 1306 * TODO: cache this result so we don't have to dig for it every time 1433 * To minimize the time spent in the critical section, we allocate the 2613 * Eventually we time out and the VM aborts. 2622 * TODO: track basic stats about time required to suspend VM. 2641 if (sleepIter == 0) { // get current time o [all...] |
/dalvik/vm/jdwp/ |
H A D | JdwpMain.c | 26 #include <sys/time.h> 27 #include <time.h> 266 * reasonable amount of time. 373 * Get a notion of the current time, in milliseconds. 389 * Return the time, in milliseconds, since the last debugger activity. 409 /* now get the current time */
|
H A D | JdwpHandler.c | 25 * end of each function. Not needed at this time. 42 #include <time.h> 43 #include <sys/time.h>
|
/dalvik/tools/ |
H A D | gclog.py | 33 import time namespace 53 # [23-12] GC time in ms 156 print "+ id=\"%s\" time=%d freed=%d" % (global_info[0], global_info[1], global_info[2]) 222 command = 'adb logcat -v time -b events'
|
/dalvik/vm/compiler/template/ |
H A D | gen-template.py | 22 import sys, string, re, time namespace
|
/dalvik/vm/mterp/ |
H A D | gen-mterp.py | 22 import sys, string, re, time namespace
|
/dalvik/vm/interp/ |
H A D | Jit.c | 29 #include <sys/time.h> 425 * permanent off switch for Jit profiling, it is a one-time leak of 1K 507 LOGD("JIT: Total compilation time: %llu ms", gDvmJit.jitTime / 1000); 508 LOGD("JIT: Avg unit compilation time: %llu us", 693 * Adds to the current trace request one instruction at a time, just 1062 * a relatively short period of time. The difficulty is defining the 1213 * Cannot build trace this time - ready to leave the dbg interpreter
|
/dalvik/vm/oo/ |
H A D | Class.c | 100 has a method that creates a java.lang.String. The first time 135 expected fashion; all you lose is some performance due to "just-in-time 146 so when optimized bytecode references it we don't repeat the resolve-time 203 static void logClassLoadWithTime(char type, ClassObject* clazz, u8 time) { argument 210 time); 579 * Go through a second time, pulling stuff out. 1738 * onto the end. It's fixed-size and known at alloc time. This 1930 * same ClassObject at the same time. 2179 * This info is used at invocation time by dvmPlatformInvoke. In most 2256 * constant values from the class until that time [all...] |