Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c76 unsigned long long nsecs; in tv_minus() local
77 nsecs = (tv_end->tv_sec - tv_start->tv_sec) * 1000000000ULL; in tv_minus()
78 nsecs += (tv_end->tv_usec - tv_start->tv_usec) * 1000; in tv_minus()
79 return nsecs; in tv_minus()
/external/syslinux/dos/
Dsyslinux.c173 void write_device(int drive, const void *buf, size_t nsecs, unsigned int sector) in write_device() argument
178 dprintf("write_device(%d,%p,%u,%u)\n", drive, buf, nsecs, sector); in write_device()
181 dio.sectors = nsecs; in write_device()
206 void read_device(int drive, void *buf, size_t nsecs, unsigned int sector) in read_device() argument
211 dprintf("read_device(%d,%p,%u,%u)\n", drive, buf, nsecs, sector); in read_device()
214 dio.sectors = nsecs; in read_device()
/external/libcxx/src/experimental/filesystem/
Doperations.cpp585 auto nsecs = duration_cast<nanoseconds>(tm.time_since_epoch() - secs); in is_representable() local
586 if (nsecs.count() < 0) { in is_representable()
588 nsecs = nsecs + seconds(1); in is_representable()
/external/syslinux/lzo/src/
Dlzo_supp.h2933 lzo_uint64l_t nsecs; in lzo_pclock_read_clock() local
2936 nsecs = LZO_STATIC_CAST(lzo_uint64l_t, (secs * 1000000000.0)); in lzo_pclock_read_clock()
2937 c->tv_sec = LZO_STATIC_CAST(lzo_int64l_t, (nsecs / 1000000000ul)); in lzo_pclock_read_clock()
2938 nsecs = (nsecs % 1000000000ul); in lzo_pclock_read_clock()
2939 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, nsecs); in lzo_pclock_read_clock()
2972 lzo_uint64l_t nsecs; in lzo_pclock_read_uclock() local
2975 nsecs = LZO_STATIC_CAST(lzo_uint64l_t, (secs * 1000000000.0)); in lzo_pclock_read_uclock()
2976 c->tv_sec = nsecs / 1000000000ul; in lzo_pclock_read_uclock()
2977 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, (nsecs % 1000000000ul)); in lzo_pclock_read_uclock()
Dminiacc.h5618 acc_uint64l_t nsecs; in acc_pclock_read_clock() local
5621 nsecs = (acc_uint64l_t) (secs * 1000000000.0); in acc_pclock_read_clock()
5622 c->tv_sec = (acc_int64l_t) (nsecs / 1000000000ul); in acc_pclock_read_clock()
5623 c->tv_nsec = (acc_uint32l_t) (nsecs % 1000000000ul); in acc_pclock_read_clock()
5642 acc_uint64l_t nsecs; in acc_pclock_read_uclock() local
5645 nsecs = (acc_uint64l_t) (secs * 1000000000.0); in acc_pclock_read_uclock()
5646 c->tv_sec = nsecs / 1000000000ul; in acc_pclock_read_uclock()
5647 c->tv_nsec = (acc_uint32l_t) (nsecs % 1000000000ul); in acc_pclock_read_uclock()
5712 acc_uint64l_t nsecs; in acc_pclock_read_perfctr() local
5719 nsecs = (acc_uint64l_t) (secs * 1000000000.0); in acc_pclock_read_perfctr()
[all …]
/external/netperf/src/
Dnetlib.c4476 long nsecs; in delta_micro() local
4477 nsecs = (*end) - (*begin); in delta_micro()
4478 return(nsecs/1000); in delta_micro()