Home | History | Annotate | Download | only in csh
History log of /src/bin/csh/time.c
RevisionDateAuthorComments
 1.26  02-Mar-2025  riastradh bin/csh/time.c: Break overlong line.
 1.25  28-Feb-2025  simonb Cast a time_t explicity to (double) to avoid gcc conversion warning.
 1.24  28-Feb-2025  simonb Fix delta time display when prec != 1.
 1.23  17-Oct-2020  mlelstv branches: 1.23.8;
Print real maxrss value like other shells.
 1.22  23-Apr-2020  simonb Add '-t' option for tcsh-style time output.
 1.21  15-Jul-2017  christos branches: 1.21.2; 1.21.6; 1.21.8;
Add a variant that passes the format, so that time(1) can use it.
 1.20  16-Jul-2013  christos WARNS=6 [-Wconversion]
 1.19  09-Nov-2011  christos branches: 1.19.6;
sync with /usr/bin/time, use CLOCK_MONOTONIC
 1.18  28-Aug-2011  christos branches: 1.18.2;
use strpct(3) from libutil.
 1.17  24-Feb-2008  dholland Dividing by a time_t makes the result time_t, so it should be cast to long
when being printf'd as a long.
 1.16  24-Feb-2007  matt branches: 1.16.4; 1.16.8;
No functional changes. Cleanup time printing code so it can be used
elsewhere in the tree.
 1.15  26-Jun-2005  christos sprinkle a little const, and now everything compiles with WARNS=3
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.13  25-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.12  14-Sep-2001  wiz ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
 1.11  12-Jun-2001  wiz receive, not recieve
 1.10  08-Apr-1998  fair Fix PR#3585 - csh printed a negative percentage of CPU used when the total
CPU usage was more than 6 hours (integer overflow problem).
 1.9  04-Jul-1997  christos branches: 1.9.2;
Rename err.h to errnum.h to avoid collision with err.h
Fix compiler warnings.
 1.8  13-Jan-1997  tls kill register
 1.7  21-Mar-1995  mycroft Update to use timer{add,sub}().
 1.6  21-Mar-1995  cgd convert to new RCS id conventions.
 1.5  21-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  20-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.2.1  08-May-1998  mycroft Pull up 1.10, per request of fair.
 1.16.8.1  24-Mar-2008  keiichi sync with head.
 1.16.4.1  23-Mar-2008  matt sync with HEAD
 1.18.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.2.1  10-Nov-2011  yamt sync with head
 1.19.6.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.8.1  25-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #853):

bin/csh/time.c: revision 1.22
usr.bin/time/time.c: revision 1.24
bin/csh/extern.h: revision 1.32
usr.bin/time/time.1: revision 1.29
usr.bin/time/ext.h: revision 1.4

Add '-t' option for tcsh-style time output.
 1.21.6.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.21.6.1  21-Apr-2020  martin Sync with HEAD
 1.21.2.2  15-Jul-2017  christos 1624
 1.21.2.1  15-Jul-2017  christos file time.c was added on branch perseant-stdc-iso10646 on 2017-07-15 14:35:56 +0000
 1.23.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed