HomeSort by relevance Sort by last modified time
    Searched refs:nsec (Results 1 - 25 of 39) sorted by null

1 2

  /external/kernel-headers/original/linux/
ktime.h 51 s32 sec, nsec; member in struct:__anon3010::__anon3011
53 s32 nsec, sec;
130 * that the tv.sec field is negative and the tv.nsec field is greater
134 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC
137 /* Set a ktime_t variable to a value in sec/nsec representation: */
140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } };
155 if (res.tv.nsec < 0)
156 res.tv.nsec += NSEC_PER_SEC;
174 * performance trick: the (u32) -NSEC gives 0x00000000Fxxxxxxx
178 * tv.nsec -= NSEC_PER_SE
    [all...]
jiffies.h 58 /* TICK_NSEC is the time between ticks in nsec assuming real ACTHZ */
66 /* TICK_USEC_TO_NSEC is the time between ticks in nsec assuming real ACTHZ and */
304 * nsec -= nsec % TICK_NSEC; is NOT a correct resolution rounding.
308 * The >> (NSEC_JIFFIE_SC - SEC_JIFFIE_SC) converts the scaled nsec
315 long nsec = value->tv_nsec + TICK_NSEC - 1; local
319 nsec = 0;
322 (((u64)nsec * NSEC_CONVERSION) >>
334 u64 nsec = (u64)jiffies * TICK_NSEC; local
335 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &value->tv_nsec)
372 u64 nsec = (u64)jiffies * TICK_NSEC; local
    [all...]
time.h 71 extern void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec);
149 * @nsec: the nanoseconds value to be converted
151 * Returns the timespec representation of the nsec parameter.
153 extern struct timespec ns_to_timespec(const s64 nsec);
157 * @nsec: the nanoseconds value to be converted
159 * Returns the timeval representation of the nsec parameter.
161 extern struct timeval ns_to_timeval(const s64 nsec);
  /bionic/libc/kernel/common/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon260::__anon261
25 s32 nsec, sec;
  /ndk/build/platforms/android-3/arch-arm/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon9210::__anon9211
25 s32 nsec, sec;
  /ndk/build/platforms/android-4/arch-arm/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon9564::__anon9565
25 s32 nsec, sec;
  /ndk/build/platforms/android-5/arch-arm/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon9918::__anon9919
25 s32 nsec, sec;
  /ndk/build/platforms/android-5/arch-x86/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon10331::__anon10332
25 s32 nsec, sec;
  /ndk/build/platforms/android-8/arch-arm/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon10700::__anon10701
25 s32 nsec, sec;
  /ndk/build/platforms/android-8/arch-x86/usr/include/linux/
ktime.h 23 s32 sec, nsec; member in struct:__anon11118::__anon11119
25 s32 nsec, sec;
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
SyncCommon.java 85 mLastStartTime = (long) event.sec * 1000L + (event.nsec / 1000000L);
91 mLastStopTime = (long) event.sec * 1000L + (event.nsec / 1000000L);
105 long updateTime = (long) event.sec * 1000L + (event.nsec / 1000000L);
116 long stopTime = (long) event.sec * 1000L + (event.nsec / 1000000L);
  /system/core/include/cutils/
logger.h 21 int32_t nsec; /* nanoseconds */ member in struct:logger_entry
  /dalvik/vm/
Sync.h 113 void dvmThreadSleep(u8 msec, u4 nsec);
160 s8 msec, s4 nsec);
Sync.c 610 void absoluteTime(s8 msec, s4 nsec, struct timespec *ts)
630 ts->tv_nsec = (ts->tv_nsec + (msec % 1000) * 1000000) + nsec;
640 s8 msec, s4 nsec)
644 absoluteTime(msec, nsec, &ts);
665 * Checks to make sure that "nsec" is in the range 0-999999
677 static void waitMonitor(Thread* self, Monitor* mon, s8 msec, s4 nsec,
698 if (msec < 0 || nsec < 0 || nsec > 999999) {
707 if (msec == 0 && nsec == 0) {
710 absoluteTime(msec, nsec, &ts)
    [all...]
  /external/grub/stage2/
bios.c 30 int nsec, int segment);
45 /* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY
52 int sector, int nsec, int segment)
79 dap.blocks = nsec;
98 return biosdisk (read, drive, geometry, sector, nsec, segment);
120 nsec, segment);
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
EventContainer.java 173 public int nsec; /* nanoseconds */ field in class:EventContainer
191 nsec = entry.nsec;
197 EventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) {
205 this.nsec = nsec;
LogReceiver.java 47 public int nsec; field in class:LogReceiver.LogEntry
238 entry.nsec = ArrayHelper.swap32bitFromArray(data, offset);
GcEventContainer.java 56 GcEventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) {
57 super(tag, pid, tid, sec, nsec, data);
  /dalvik/libcore/luni/src/main/java/java/lang/
VMThread.java 35 static native void sleep (long msec, int nsec) throws InterruptedException;
  /external/grub/grub/
asmstub.c 929 int sector, int nsec, int segment)
968 if (sector == 0 && nsec > 1)
977 nsec--;
980 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
989 nsec, sector, drive, device_map[drive]);
990 hex_dump (buf, nsec * SECTOR_SIZE);
993 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
  /external/blktrace/btt/
trace_complete.c 24 __u64 sec, __u32 nsec, int indent)
31 type2c(type), (unsigned long long)sec, nsec);
  /hardware/ti/wlan/wl1271/platforms/os/linux/inc/
wbuf.h 91 #define WBUF_STAMP(pWbuf) ( ((struct sk_buff *)(pWbuf))->tstamp.tv.nsec )
  /system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
wbuf.h 91 #define WBUF_STAMP(pWbuf) ( ((struct sk_buff *)(pWbuf))->tstamp.tv.nsec )
  /external/openssl/crypto/ocsp/
ocsp_cl.c 308 * rejecting otherwise valid time we allow the times to be within 'nsec' of the current time.
313 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec)
318 /* Check thisUpdate is valid and not more than nsec in the future */
326 t_tmp = t_now + nsec;
348 /* Check nextUpdate is valid and not more than nsec in the past */
356 t_tmp = t_now - nsec;
  /external/blktrace/
blkparse_fmt.c 89 unsigned long nsec; local
92 nsec = abs_start_time.tv_nsec + NANO_SECONDS(timestamp);
93 if (nsec >= 1000000000) {
94 nsec -= 1000000000;
104 nsec / 1000);

Completed in 592 milliseconds

1 2