/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.cpp | 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 136 U4_TO_BUF_BE(headBuf, 1, rec->time); 160 int hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time) argument 174 rec->time = time; [all...] |
H A D | Hprof.h | 100 * u4 TIME: number of microseconds since the time stamp in the header 107 u4 time; member in struct:hprof_record_t 193 int hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time);
|
H A D | Hprof.cpp | 33 #include <sys/time.h> 34 #include <time.h>
|
/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 | 31 #include <time.h> 170 uint64_t topExclusive; /* non-recursive exclusive time */ 327 * methods into decreasing order of exclusive elapsed time. 365 * methods into decreasing order of inclusive elapsed time. 404 * TimedMethods into decreasing order of inclusive elapsed time. 467 * classes into decreasing order of exclusive elapsed time. 532 * unique methods into decreasing order of exclusive elapsed time. 1278 /* This routine adds the given time to the parent and child methods. 1281 * duration of the child routine, including time spent in called routines. 1553 * elapsed time s [all...] |
/dalvik/vm/ |
H A D | SignalCatcher.cpp | 29 #include <sys/time.h> 109 time_t now = time(NULL);
|
H A D | Misc.h | 28 #include <sys/time.h> 207 * Get the current time, in nanoseconds. This is "relative" time, meaning 208 * it could be wall-clock time or a monotonic counter, and is only suitable 209 * for computing time deltas. 214 * Get the current time, in microseconds. This is "relative" time, meaning 215 * it could be wall-clock time or a monotonic counter, and is only suitable 216 * for computing time deltas. 223 * Get the current time, i [all...] |
H A D | Misc.cpp | 27 #include <time.h> 28 #include <sys/time.h> 116 * other hand, we can make Eclipse time out if we're showing 442 * Get a notion of the current time, in nanoseconds. This is meant for 444 * should not be used to get the current date/time. 460 * Get the per-thread CPU time, in nanoseconds. 462 * Only useful for time deltas. 476 * Get the per-thread CPU time, in nanoseconds, for the specified thread. 497 * to sleep for a period of time not to exceed "maxTotalSleep". 500 * brief time [all...] |
H A D | Android.mk | 123 # time. When building this target as a regular static library, certain
|
H A D | Profile.cpp | 26 #include <sys/time.h> 27 #include <time.h> 50 * u8 start date/time in usec 57 * u4 time delta since start, in usec 62 * u4 time delta since start, in usec 67 * u4 time delta since start, in usec 68 * u4 wall time since start, in usec (when clock == "dual" only) 105 * Get the wall-clock date/time, in usec. 117 * Get the thread-cpu time, in usec. 118 * We use this clock when we can because it enables us to track the time tha [all...] |
H A D | Sync.cpp | 23 #include <time.h> 66 * Only one thread can own the monitor at any time. There may be several 68 * threads may be getting interrupted or notified at any given time. 306 /* Emit the wait time, 5 bytes. */ 547 * Converts the given relative waiting time into an absolute time. 565 ALOGV("NOTE: end time exceeds epoch"); 614 * to return at the end of the 32-bit time epoch. 643 * Compute absolute wakeup time, if necessary.
|
H A D | Thread.cpp | 27 #include <sys/time.h> 198 resources at the same time. It's not clear if this is a real concern. 474 * the same time we're posting an event. 477 * chaining cells around the same time. 668 /* fill these in, since they weren't ready at dvmCreateJNIEnv time */ 871 /* One-time setup for interpreter/JIT state */ 1253 * To minimize the time spent in the critical section, we allocate the 2414 * Eventually we time out and the VM aborts. 2423 * TODO: track basic stats about time required to suspend VM. 2442 if (sleepIter == 0) { // get current time o [all...] |
/dalvik/vm/os/ |
H A D | android.cpp | 21 #include <sys/time.h>
|
/dalvik/vm/jdwp/ |
H A D | JdwpMain.cpp | 26 #include <sys/time.h> 27 #include <time.h> 300 * reasonable amount of time. 407 * Get a notion of the current time, in milliseconds. 423 * Return the time, in milliseconds, since the last debugger activity. 443 /* now get the current time */
|
/dalvik/vm/alloc/ |
H A D | DdmHeap.cpp | 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.cpp | 34 #include <sys/time.h> 190 // big objects in a row, and we hit the frag case each time. 196 // (or, at least, there are only 0-5 objects swept each time) 245 * time. The VM spec requires that all SoftReferences have 256 //TODO: maybe wait for finalizers and try one last time 408 * RMW will have completed by the time any other thread 622 /* Now's a good time to adjust the heap size, since
|
/dalvik/vm/compiler/template/ |
H A D | gen-template.py | 22 import sys, string, re, time namespace
|
/dalvik/vm/test/ |
H A D | TestIndirectRefTable.cpp | 23 #include <sys/time.h>
|
/dalvik/vm/mterp/ |
H A D | gen-mterp.py | 22 import sys, string, re, time namespace
|
/dalvik/vm/interp/ |
H A D | Jit.cpp | 28 #include <sys/time.h> 440 * permanent off switch for Jit profiling, it is a one-time leak of 1K 523 ALOGD("JIT: Total compilation time: %llu ms", gDvmJit.jitTime / 1000); 524 ALOGD("JIT: Avg unit compilation time: %llu us", 764 * Adds to the current trace request one instruction at a time, just 1128 * has been reset between the time the trace was requested and 1166 * a relatively short period of time. The difficulty is defining the 1301 /* Cannot build trace this time */
|
/dalvik/vm/oo/ |
H A D | Class.cpp | 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); 693 * Go through a second time, pulling stuff out. 1821 * onto the end. It's fixed-size and known at alloc time. This 2014 * same ClassObject at the same time. 2276 * This info is used at invocation time by dvmPlatformInvoke. In most 2353 * constant values from the class until that time [all...] |