I'm afraid that to to dynamic printing, you need to use (* = n for linux, pd for windows) *curses library(It comes with the linux distribution, <ncurses.h>). It's pretty straightforward to write wrapper functions for it to manage stuff like dynamic printf().
as far as I've understood, clock() measures the execution time of a process. When it is run on multiple threads, it adds up the total execution time of those threads. I am not sure about this though. Try dividing the time with some constant related to the number of threads.
Nothing stops you from becoming one though. Just grab a book and have a try.![]()
Bookmarks