HomeSort by: relevance | last modified time | path
    Searched refs:NANOSEC (Results 1 - 25 of 62) sorted by relevancy

1 2 3

  /src/external/mit/libuv/dist/test/
test-hrtime.c 29 #ifndef NANOSEC
30 # define NANOSEC ((uint64_t) 1e9)
48 ASSERT_UINT64_GT(diff, (uint64_t) 25 * NANOSEC / MILLISEC);
benchmark-pound.c 28 #undef NANOSEC
29 #define NANOSEC ((uint64_t) 1e9)
300 secs = (double)(end_time - start_time) / NANOSEC;
  /src/external/gpl3/binutils/dist/gprofng/common/
gp-time.h 30 #define NANOSEC 1000000000
  /src/external/gpl3/binutils.old/dist/gprofng/common/
gp-time.h 30 #define NANOSEC 1000000000
  /src/external/cddl/osnet/sys/sys/
time.h 39 #define NANOSEC 1000000000
42 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))
43 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
45 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC))
46 #define SEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / SEC))
63 #define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
74 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts.tv_nsec;
108 return (((u_int64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec);
  /src/external/cddl/osnet/dev/profile/
profile.c 269 static hrtime_t profile_interval_min = NANOSEC / 5000; /* 5000 hz */
287 sec = nsec / NANOSEC;
288 nsec = nsec % NANOSEC;
289 return (((sbintime_t)sec << 32) | ((sbintime_t)nsec << 32) / NANOSEC);
296 return ((sbt >> 32) * NANOSEC +
297 (((uint32_t)sbt * (hrtime_t)NANOSEC) >> 32));
449 { "ns", NANOSEC / NANOSEC },
450 { "nsec", NANOSEC / NANOSEC },
    [all...]
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_work.c 86 tv.tv_sec = (earliest - now) / NANOSEC;
87 tv.tv_nsec = (earliest - now) % NANOSEC;
98 tv.tv_sec += earliest / NANOSEC;
99 tv.tv_nsec += earliest % NANOSEC;
100 while (tv.tv_nsec > NANOSEC) {
102 tv.tv_nsec -= NANOSEC;
dt_options.c 725 { "ns", NANOSEC / NANOSEC },
726 { "nsec", NANOSEC / NANOSEC },
727 { "us", NANOSEC / MICROSEC },
728 { "usec", NANOSEC / MICROSEC },
729 { "ms", NANOSEC / MILLISEC },
730 { "msec", NANOSEC / MILLISEC },
731 { "s", NANOSEC / SEC },
732 { "sec", NANOSEC / SEC }
    [all...]
  /src/external/gpl3/binutils/dist/gprofng/src/
util.h 134 d->tv_sec = (long) (s / NANOSEC);
135 d->tv_nsec = (long) (s % NANOSEC);
141 return (hrtime_t) s->tv_sec * NANOSEC + (hrtime_t) s->tv_nsec;
parse.cc 103 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
107 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
128 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
132 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
DbeView.cc 2306 i, expr_ts, ts / NANOSEC, ts % NANOSEC,
2307 expr_ts / NANOSEC, expr_ts % NANOSEC,
2366 i, expr_ts, ts / NANOSEC, ts % NANOSEC,
2367 expr_ts / NANOSEC, expr_ts % NANOSEC, thrid,
2371 (unsigned long long) syncobj, (long long) (syncdelay / NANOSEC), (long long) (syncdelay % NANOSEC));
    [all...]
  /src/external/gpl3/binutils.old/dist/gprofng/src/
util.h 134 d->tv_sec = (long) (s / NANOSEC);
135 d->tv_nsec = (long) (s % NANOSEC);
141 return (hrtime_t) s->tv_sec * NANOSEC + (hrtime_t) s->tv_nsec;
parse.cc 103 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
107 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
128 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
132 flavor, (long) (ts / NANOSEC), (long) (ts % NANOSEC),
DbeView.cc 2306 i, expr_ts, ts / NANOSEC, ts % NANOSEC,
2307 expr_ts / NANOSEC, expr_ts % NANOSEC,
2366 i, expr_ts, ts / NANOSEC, ts % NANOSEC,
2367 expr_ts / NANOSEC, expr_ts % NANOSEC, thrid,
2371 (unsigned long long) syncobj, (long long) (syncdelay / NANOSEC), (long long) (syncdelay % NANOSEC));
    [all...]
  /src/external/gpl3/binutils/dist/gprofng/libcollector/
collector.c 179 #define ts2hrt(x) ((hrtime_t)(x).tv_sec*NANOSEC + (hrtime_t)(x).tv_nsec)
467 (unsigned) (__collector_start_time / NANOSEC),
468 (unsigned) (__collector_start_time % NANOSEC),
934 (unsigned) (__collector_start_time / NANOSEC), (unsigned) (__collector_start_time % NANOSEC),
940 __collector_next_sample = __collector_start_time + ((hrtime_t) NANOSEC) * __collector_sample_period;
954 SP_JCMD_PAUSE, (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC));
1271 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC));
    [all...]
mmaptrace.c 384 (unsigned) (timestamp / NANOSEC),
385 (unsigned) (timestamp % NANOSEC),
396 (unsigned) (timestamp / NANOSEC),
397 (unsigned) (timestamp % NANOSEC), loadaddr);
925 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
1184 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
1275 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
    [all...]
linetrace.c 847 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
936 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
957 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
1056 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
1097 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
    [all...]
jprofile.c 620 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
643 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
1080 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC)
1091 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC)
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
collector.c 179 #define ts2hrt(x) ((hrtime_t)(x).tv_sec*NANOSEC + (hrtime_t)(x).tv_nsec)
467 (unsigned) (__collector_start_time / NANOSEC),
468 (unsigned) (__collector_start_time % NANOSEC),
934 (unsigned) (__collector_start_time / NANOSEC), (unsigned) (__collector_start_time % NANOSEC),
940 __collector_next_sample = __collector_start_time + ((hrtime_t) NANOSEC) * __collector_sample_period;
954 SP_JCMD_PAUSE, (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC));
1271 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC));
    [all...]
mmaptrace.c 384 (unsigned) (timestamp / NANOSEC),
385 (unsigned) (timestamp % NANOSEC),
396 (unsigned) (timestamp / NANOSEC),
397 (unsigned) (timestamp % NANOSEC), loadaddr);
925 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
1184 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
1275 (unsigned) (hrt / NANOSEC), (unsigned) (hrt % NANOSEC),
    [all...]
linetrace.c 847 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
936 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
957 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
1056 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
1097 (unsigned) (ts / NANOSEC), (unsigned) (ts % NANOSEC),
    [all...]
  /src/external/mit/libuv/dist/src/unix/
thread.c 58 #undef NANOSEC
59 #define NANOSEC ((uint64_t) 1e9)
849 ts.tv_sec = timeout / NANOSEC;
850 ts.tv_nsec = timeout % NANOSEC;
856 timeout += tv.tv_sec * NANOSEC + tv.tv_usec * 1e3;
860 ts.tv_sec = timeout / NANOSEC;
861 ts.tv_nsec = timeout % NANOSEC;
  /src/external/cddl/osnet/dev/dtrace/amd64/
dtrace_subr.c 337 KASSERT(tsc_f > (NANOSEC >> (32 - SCALE_SHIFT)));
340 * We scale up NANOSEC/tsc_f ratio to preserve as much precision
348 nsec_scale = ((uint64_t)NANOSEC << SCALE_SHIFT) / tsc_f;
  /src/external/cddl/osnet/dist/lib/libzpool/common/
util.c 96 sec = MAX(1, vs->vs_timestamp / NANOSEC);
  /src/external/cddl/osnet/dev/dtrace/i386/
dtrace_subr.c 318 KASSERTMSG(tsc_f > (NANOSEC >> (32 - SCALE_SHIFT)),
322 * We scale up NANOSEC/tsc_f ratio to preserve as much precision
330 nsec_scale = ((uint64_t)NANOSEC << SCALE_SHIFT) / tsc_f;

Completed in 48 milliseconds

1 2 3