Searched refs:time1 (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/src/algos/ |
D | time_sync.c | 46 uint64_t tmp1 = sync->time1[0]; in time_sync_truncate() 50 sync->time1[m] = sync->time1[m + 1]; in time_sync_truncate() 53 sync->time1[NUM_TIME_SYNC_DATAPOINTS - 1] = tmp1; in time_sync_truncate() 60 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2) { in time_sync_add() argument 63 sync->time1[i] = time1; in time_sync_add() 87 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1) in time_sync_estimate_time1() argument 94 *time1 = 0; in time_sync_estimate_time1() 108 uint64_t time1_base = sync->time1[i]; in time_sync_estimate_time1() 119 mean_y += floatFromUint64(sync->time1[ii] - time1_base) * invN; in time_sync_estimate_time1() 134 float y = floatFromUint64(sync->time1[ii] - time1_base) - mean_y; in time_sync_estimate_time1() [all …]
|
/device/google/contexthub/firmware/inc/algos/ |
D | time_sync.h | 32 uint64_t time1[NUM_TIME_SYNC_DATAPOINTS]; member 50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2); 51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1);
|
/device/generic/goldfish/libqemu/ |
D | test_guest_1.c | 96 double time1 = now_secs(); in main() local 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0); in main()
|
D | test_guest_2.c | 61 double time0, time1; in main() local 231 time1 = now_secs(); in main() 236 printf("Total time: %g seconds\n", time1 - time0); in main() 238 printf("Bandwidth: %g MB/s\n", (maxCount*bufferSize/(1024.0*1024.0))/(time1 - time0) ); in main()
|