Home
last modified time | relevance | path

Searched refs:start (Results 1 – 4 of 4) sorted by relevance

/optee_test/host/xtest/
A Dsha_perf.c202 static uint64_t timespec_diff_ns(struct timespec *start, struct timespec *end) in timespec_diff_ns() argument
206 if (end->tv_nsec < start->tv_nsec) { in timespec_diff_ns()
207 ns += 1000000000 * (end->tv_sec - start->tv_sec - 1); in timespec_diff_ns()
208 ns += 1000000000 - start->tv_nsec + end->tv_nsec; in timespec_diff_ns()
210 ns += 1000000000 * (end->tv_sec - start->tv_sec); in timespec_diff_ns()
211 ns += end->tv_nsec - start->tv_nsec; in timespec_diff_ns()
A Daes_perf.c347 static uint64_t timespec_diff_ns(struct timespec *start, struct timespec *end) in timespec_diff_ns() argument
349 return timespec_to_ns(end) - timespec_to_ns(start); in timespec_diff_ns()
A DLICENSE289 to attach them to the start of each source file to most effectively
/optee_test/ta/storage_benchmark/
A Dbenchmark.c59 static inline uint32_t get_delta_time_in_ms(TEE_Time start, TEE_Time stop) in get_delta_time_in_ms() argument
61 return tee_time_to_ms(stop) - tee_time_to_ms(start); in get_delta_time_in_ms()

Completed in 7 milliseconds