Lines Matching refs:NSEC_PER_SEC
536 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_hugepages_time()
540 printf("Total time: %ld.%09ld s\n", scan_time_ns / NSEC_PER_SEC, in ksm_merge_hugepages_time()
541 scan_time_ns % NSEC_PER_SEC); in ksm_merge_hugepages_time()
543 ((double)scan_time_ns / NSEC_PER_SEC)); in ksm_merge_hugepages_time()
577 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_time()
581 printf("Total time: %ld.%09ld s\n", scan_time_ns / NSEC_PER_SEC, in ksm_merge_time()
582 scan_time_ns % NSEC_PER_SEC); in ksm_merge_time()
584 ((double)scan_time_ns / NSEC_PER_SEC)); in ksm_merge_time()
619 cow_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_cow_time()
624 printf("Total time: %ld.%09ld s\n", cow_time_ns / NSEC_PER_SEC, in ksm_cow_time()
625 cow_time_ns % NSEC_PER_SEC); in ksm_cow_time()
627 ((double)cow_time_ns / NSEC_PER_SEC)); in ksm_cow_time()
648 cow_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_cow_time()
652 printf("Total time: %ld.%09ld s\n", cow_time_ns / NSEC_PER_SEC, in ksm_cow_time()
653 cow_time_ns % NSEC_PER_SEC); in ksm_cow_time()
655 ((double)cow_time_ns / NSEC_PER_SEC)); in ksm_cow_time()