Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66364596
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
Mon, Jun 10, 02:13
Size
168 B
Mime Type
text/x-c
Expires
Wed, Jun 12, 02:13 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18211135
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