struct timeval tv;
struct timezone tz; many typical unix programming constructs illustrated
#include <sys/time.h>
child.h |
add
#ifndef _CHILD_H
epoch_timestamp.c |
add
/* mod_pgsqllog.c version 1.3 under */
makefile |
/* http://vip.cs.utsa.edu/usp/ dr.robbins utsa computer science "unix systems programming" */
CC = cc
COPS = -g
LOPS = -x -u
showtimes: showtimes.c
|
runtime.c |
calculating quicksort run time using (finish-start)*1E3/CLOCKS_PER_SEC where finish and start are clock_t types
#include <time.h>
showtimes.c |
add
/* http://vip.cs.utsa.edu/usp/ dr.robbins utsa computer science "unix systems programming" */
showtimestest.c |
add
/* http://vip.cs.utsa.edu/usp/ dr.robbins utsa computer science "unix systems programming" */
time.c |
add
#include <sys/times.h>
wastetime.c |
using mutexes to protect a counter
/* http://vip.cs.utsa.edu/usp/ dr.robbins utsa computer science "unix systems programming" */
--->upload your article
|
User submitted category site links |
|
(None) | -->submit a page from your site dealing with time to the sirfsup! web directory for listing | | | | | | | | |