/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
ProfileBase.java | 22 * Basic profiler that will compute start, end and "time since last event" 49 // In most cases this will only be used to reset the lastMark time. 54 long time = System.nanoTime(); local 55 onMark(getTotalMillis(time), getTimeFromLastMillis(time), reason); 56 mLastMark = time; 61 long time = System.nanoTime(); local 62 onStop(getTotalMillis(time), getTimeFromLastMillis(time)); 63 mLastMark = time; 68 long time = System.nanoTime(); local [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
EventViewer.java | 67 long time; local 69 time = Utility.parseEmailDateTimeToMillis(info.get(MeetingInfo.MEETING_DTSTART)); 74 uri = Uri.parse("content://com.android.calendar/time/" + time);
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
AnalyticsTimer.java | 25 * Generic static singleton timer that keeps track of start time of various events. It logs the 52 * Record the current time as the start time of the provided id. If the id has a previously 53 * recorded start time, that time is overwritten. 67 * start time. 84 * Same as logDuration except with the logged time returned (or exception thrown) 85 * @return logged time in millis 94 final long time = SystemClock.uptimeMillis() - value; local 95 Analytics.getInstance().sendTiming(category, time, name, label) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
profiler.h | 38 AKLOGI("Total time is %6.3f ms.", totalTime); 39 for (const auto &time : mTimes) { 40 AKLOGI("(%d): Used %4.2f%%, %8.4f ms. Called %d times.", time.first, 41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]); 66 timespec time; local 67 clock_gettime(mClockId, &time); 68 return static_cast<int64_t>(time.tv_sec) * 1000000 69 + static_cast<int64_t>(time.tv_nsec) / 1000 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sys/ |
timeb.h | 54 __time32_t time; member in struct:__timeb32 62 time_t time; member in struct:timeb 70 __time64_t time; member in struct:__timeb64
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/asm/ |
mce.h | 14 *** Any manual change here will be lost the next time this script will 32 __u64 time; member in struct:mce
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/asm/ |
mce.h | 14 *** Any manual change here will be lost the next time this script will 32 __u64 time; member in struct:mce
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_lock.py | 5 import time namespace 110 time.sleep(0.01) 126 start_time=time.time() 129 end_time=time.time()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
__init__.py | 1 import os, sys, unittest, getopt, time namespace 121 startTime = time.time() 123 stopTime = time.time()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_wininst.py | 161 # at installation time which scheme to use. 245 import time namespace 248 (time.ctime(time.time()), distutils.__version__)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
Audio_mac.py | 23 import time namespace 25 time.sleep(0.1) 45 import time namespace 58 time.sleep(0.1)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pprint.py | 340 import time namespace 344 t1 = time.time() 346 t2 = time.time() 348 t3 = time.time()
|
robotparser.py | 33 """Returns the time the robots.txt file was last fetched. 42 """Sets the time the robots.txt file was last fetched to the 43 current time. 46 import time namespace 47 self.last_checked = time.time()
|
timeit.py | 3 """Tool for measuring execution time of small code snippets. 18 -t/--time: use time.time() (default on Unix) 19 -c/--clock: use time.clock() (default on Windows) 31 successive powers of 10 until the total time is at least 0.2 seconds. 34 clock() has microsecond granularity but time()'s granularity is 1/60th 36 time() is much more precise. On either platform, the default timer 37 functions measure wall clock time, not the CPU time. This means tha 57 import time namespace [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_capi.py | 6 import time namespace 28 time.sleep(random.random()*0.02) #0.01 secs on average 115 time.sleep(1)
|
test_docxmlrpc.py | 6 import time namespace 82 time.sleep(0.001)
|
test_file_eintr.py | 20 import time namespace 62 time.sleep(0.1) # give it time to finish printing the error.
|
test_structseq.py | 4 import time namespace 9 t = time.gmtime() 30 t = time.gmtime() 32 t = time.gmtime(0) 34 "time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, " 38 t1 = time.gmtime() 44 t1 = time.gmtime() 51 t1 = time.gmtime() 57 t1 = time.gmtime() 61 t1 = time.gmtime( [all...] |
test_time.py | 2 import time namespace 10 self.t = time.time() 13 time.altzone 14 time.daylight 15 time.timezone 16 time.tzname 19 time.clock() 22 self.assertTrue(time.ctime(self.t) 23 == time.asctime(time.localtime(self.t)) [all...] |
test_timeout.py | 9 import time namespace 112 # Use a dotted IP address to avoid including the DNS lookup time 113 # with the connect time. This avoids failing the assertion that 121 _t1 = time.time() 123 _t2 = time.time() 138 _t1 = time.time() 140 _t2 = time.time( [all...] |
test_unicode_file.py | 4 import os, glob, time, shutil namespace 53 os.utime(filename, (time.time(), time.time()))
|
test_zipfile64.py | 11 'test requires loads of disk-space bytes and a long time to run' 21 import time namespace 30 # How much time in seconds can pass before we print a 'Still working' message. 54 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 58 if next_time <= time.time(): 59 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 71 if next_time <= time.time() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
runner.py | 4 import time namespace 146 startTime = time.time() 156 stopTime = time.time()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_lock.py | 5 import time namespace 110 time.sleep(0.01) 126 start_time=time.time() 129 end_time=time.time()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
__init__.py | 1 import os, sys, unittest, getopt, time namespace 121 startTime = time.time() 123 stopTime = time.time()
|