Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92951755
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, Nov 25, 02:28
Size
168 B
Mime Type
text/x-c
Expires
Wed, Nov 27, 02:28 (2 d)
Engine
blob
Format
Raw Data
Handle
22543999
Attached To
R11821 phys-743-lecture
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