cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ -lrt ] [ ... ] #include <mathcw.h> extern float secondf (void); extern double second (void); extern long double secondl (void); extern __float80 secondw (void); extern __float128 secondq (void); extern long_long_double secondll (void); extern decimal_float seconddf (void); extern decimal_double secondd (void); extern decimal_long_double seconddl (void); extern decimal_long_long_double seconddll (void);
NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.
On most systems, this function uses the POSIX high-resolution timer which ticks at least once per microsec, and on some systems, once per nanosec. This is much better than the course 60Hz or 100Hz frequency of the timer provided by the standard Unix clock(3) and times(3) functions. On such systems, it may be necessary to link with the real-time library, -lrt, to resolve external references to timer routines.