Lines Matching refs:end_time
554 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local
595 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time()
600 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_hugepages_time()
601 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_hugepages_time()
621 struct timespec start_time, end_time; in ksm_merge_time() local
636 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time()
641 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_time()
642 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_time()
662 struct timespec start_time, end_time; in ksm_unmerge_time() local
683 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_unmerge_time()
688 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_unmerge_time()
689 (end_time.tv_nsec - start_time.tv_nsec); in ksm_unmerge_time()
709 struct timespec start_time, end_time; in ksm_cow_time() local
725 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time()
730 cow_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_cow_time()
731 (end_time.tv_nsec - start_time.tv_nsec); in ksm_cow_time()
754 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time()
759 cow_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_cow_time()
760 (end_time.tv_nsec - start_time.tv_nsec); in ksm_cow_time()