Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F88778610
timing.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Oct 20, 15:36
Size
168 B
Mime Type
text/x-c
Expires
Tue, Oct 22, 15:36 (2 d)
Engine
blob
Format
Raw Data
Handle
21817561
Attached To
rSCINTROPARALLEL Poisson code for introduction to parallelism
timing.c
View Options
#include <sys/time.h>
#include <time.h>
double second() {
struct timeval tp;
gettimeofday(&tp, NULL);
return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6);
}
Event Timeline
Log In to Comment