Lines Matching refs:printf
44 D(printf(" drive state is: %d\n", state)); in check_powermode()
81 printf("Starting measurements\n"); in measure()
85 printf(" System is in state %s\n\n", state_name(last_state)); in measure()
103 printf("%s: State-change to %s\n", myctime(curr_time), in measure()
110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
111 printf(" State changed %d times\n", changes); in measure()
114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); in measure()
116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); in measure()
118 printf(" Time in unknown state: %lus (%.2f%%)\n", unknown_time, tmp); in measure()
148 printf("Can't open %s, because: %s\n", disk, strerror(errno)); in main()
153 printf("Waiting %d seconds for the system to settle down to " in main()