Wall Clock Time in Parallel Computing Cluster

If you’re trying to measure the wall clock time on a cluster, either use the library’s getwalltime function (as in OpenMP) or gettimeofday().
Never use clock() as it counts the number of clock cycles of the processors, and if you’re utilizing more than one processor, the number would accumulate and thus producing incorrect (overshoot) results.

Posted on January 10, 2011, in Computer Configurations. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: