diff options
-rw-r--r-- | typ.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,11 +72,11 @@ int main() { printf("%d\twords\n", words); printf("%d\tcharacters\n", ci - 1); printf("%d\tcharacters inside words\n", nonspace); - printf("%.4f\tseconds in total\n", finish - ct[0]); + printf("%.4f\tseconds\n", finish - ct[0]); + printf("%.4f\tseconds inside words\n", tt); printf("%.4f\tseconds per character\n", tt / (ci - 1)); printf("%.4f\tseconds per character inside word\n", tt / nonspace); printf("%.4f\tseconds per word\n", tt / words); - printf("%.4f\tseconds inside words\n", tt); /* restore original terminal settings */ tcsetattr(ttyfd, TCSANOW, &orig); |