Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:NonFree
stream
mysecond.c
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mysecond.c of Package stream
/* A gettimeofday routine to give access to the wall clock timer on most UNIX-like systems. This version defines two entry points -- with and without appended underscores, so it *should* automagically link with FORTRAN */ #include <sys/time.h> double mysecond() { /* struct timeval { long tv_sec; long tv_usec; }; struct timezone { int tz_minuteswest; int tz_dsttime; }; */ struct timeval tp; struct timezone tzp; int i; i = gettimeofday(&tp,&tzp); return ( (double) tp.tv_sec + (double) tp.tv_usec * 1.e-6 ); } double mysecond_() {return mysecond();}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor