HomeSort by: relevance | last modified time | path
    Searched defs:nsec_scale (Results 1 - 2 of 2) sorted by relevancy

  /src/external/cddl/osnet/dev/dtrace/amd64/
dtrace_subr.c 277 static uint64_t nsec_scale; variable
332 * The following line checks that nsec_scale calculated below
348 nsec_scale = ((uint64_t)NANOSEC << SCALE_SHIFT) / tsc_f;
375 * scale them with nsec_scale, then we scale them down by 2^28
376 * (see nsec_scale calculations) taking into account 32-bit shift of
382 return (((lo * nsec_scale) >> SCALE_SHIFT) +
383 ((hi * nsec_scale) << (32 - SCALE_SHIFT)));
  /src/external/cddl/osnet/dev/dtrace/i386/
dtrace_subr.c 271 static uint64_t nsec_scale; variable
313 * The following line checks that nsec_scale calculated below
330 nsec_scale = ((uint64_t)NANOSEC << SCALE_SHIFT) / tsc_f;
389 * scale them with nsec_scale, then we scale them down by 2^28
390 * (see nsec_scale calculations) taking into account 32-bit shift of
396 return (((lo * nsec_scale) >> SCALE_SHIFT) +
397 ((hi * nsec_scale) << (32 - SCALE_SHIFT)));

Completed in 122 milliseconds