#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
255135 |
|
01-Sep-2013 |
davide |
Use single underscore for all parameters name and local variables in bintime_* related functions. This commit completes what was already done by theraven@ for bintime_shift, and just uses a single underscore instead of two (which is a style bug according to Bruce). See r251855 for reference.
Reported by: theraven Discussed with: bde Reviewed by: bde
|
#
251855 |
|
17-Jun-2013 |
theraven |
Rename a parameter in sys/time.h so that you don't get warnings for things like libdialog that include both this header and math.h.
|
#
247777 |
|
04-Mar-2013 |
davide |
- Make callout(9) tickless, relying on eventtimers(4) as backend for precise time event generation. This greatly improves granularity of callouts which are not anymore constrained to wait next tick to be scheduled. - Extend the callout KPI introducing a set of callout_reset_sbt* functions, which take a sbintime_t as timeout argument. The new KPI also offers a way for consumers to specify precision tolerance they allow, so that callout can coalesce events and reduce number of interrupts as well as potentially avoid scheduling a SWI thread. - Introduce support for dispatching callouts directly from hardware interrupt context, specifying an additional flag. This feature should be used carefully, as long as interrupt context has some limitations (e.g. no sleeping locks can be held). - Enhance mechanisms to gather informations about callwheel, introducing a new sysctl to obtain stats.
This change breaks the KBI. struct callout fields has been changed, in particular 'int ticks' (4 bytes) has been replaced with 'sbintime_t' (8 bytes) and another 'sbintime_t' field was added for precision.
Together with: mav Reviewed by: attilio, bde, luigi, phk Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo (amd64, sparc64), marius (sparc64), ian (arm), markj (amd64), mav, Fabian Keil
|
#
247673 |
|
02-Mar-2013 |
mav |
Polish few spaces/tabs.
|
#
247476 |
|
28-Feb-2013 |
davide |
Move the definition of sbintime_t type from <sys/time.h> to <sys/types.h>. With this change we prevent gross namespace pollution.
Reported by: bde Suggested by: attilio
|
#
247452 |
|
28-Feb-2013 |
mav |
Introduce sbintime_t type -- the simplified version of struct bintime, using 32.32 fixed point in form of single int64_t. It is much easier to use in cases where additional precision and range of struct bintime is not required.
Reviewed by: bde (previous version), davide
|
#
247338 |
|
26-Feb-2013 |
delphij |
Revert r247300 for now. I'll post a new changeset for review.
|
#
247300 |
|
26-Feb-2013 |
delphij |
Expose timespec and timeval macros when __BSD_VISIBLE is defined. This allows userland application to use the following macros:
timespecclear, timespecisset, timespeccmp, timespecadd, timespecsub;
timevalclear, timevalisset, timevalcmp.
MFC after: 1 month
|
#
246037 |
|
28-Jan-2013 |
jhb |
Mark 'ticks', 'time_second', and 'time_uptime' as volatile to prevent the compiler from caching their values in tight loops.
Reviewed by: bde MFC after: 1 week
|
#
239974 |
|
01-Sep-2012 |
ed |
While there, remove an unneeded blank line.
MFC after: 1 month
|
#
239973 |
|
01-Sep-2012 |
ed |
Fix whitespace.
MFC after: 1 month
|
#
239347 |
|
17-Aug-2012 |
davidxu |
Implement syscall clock_getcpuclockid2, so we can get a clock id for process, thread or others we want to support. Use the syscall to implement POSIX API clock_getcpuclock and pthread_getcpuclockid.
PR: 168417
|
#
224732 |
|
09-Aug-2011 |
jonathan |
Remove timeval2timespec and its converse, since we already have TIMEVAL_TO_TIMESPEC() in <sys/timespec.h>.
Spotted by: bde Approved by: re (kib), mentor (rwatson)
|
#
224721 |
|
08-Aug-2011 |
jonathan |
Create timeval2timespec() and timespec2timeval().
These functions will be used by process descriptors to convert process creation time into process descriptor [acm]time.
Approved by: re (kib), mentor (rwatson) Suggested by: jhb Sponsored by: Google Inc
|
#
213401 |
|
04-Oct-2010 |
phk |
Certain static code analysis tools (FlexeLint being one) are very suspicious about 'l' and '1' being confused in numeric constants. The fear being that some old fart programmer might still think that he is using a Remmington Noiseless as input terminal device.
An easy way to placate this fear is to use capital 'L' or to put the 'u' in unsigned constants in front of the 'l'.
|
#
212336 |
|
08-Sep-2010 |
mav |
Add few more bintime math macros.
|
#
210226 |
|
18-Jul-2010 |
trasz |
Revert r210225 - turns out I was wrong; the "/*-" is not license-only thing; it's also used to indicate that the comment should not be automatically rewrapped.
Explained by: cperciva@
|
#
210225 |
|
18-Jul-2010 |
trasz |
The "/*-" comment marker is supposed to denote copyrights. Remove non-copyright occurences from sys/sys/ and sys/kern/.
|
#
209216 |
|
15-Jun-2010 |
jkim |
Implement flexible BPF timestamping framework.
- Allow setting format, resolution and accuracy of BPF time stamps per listener. Previously, we were only able to use microtime(9). Now we can set various resolutions and accuracies with ioctl(2) BIOCSTSTAMP command. Similarly, we can get the current resolution and accuracy with BIOCGTSTAMP command. Document all supported options in bpf(4) and their uses.
- Introduce new time stamp 'struct bpf_ts' and header 'struct bpf_xhdr'. The new time stamp has both 64-bit second and fractional parts. bpf_xhdr has this time stamp instead of 'struct timeval' for bh_tstamp. The new structures let us use bh_tstamp of same size on both 32-bit and 64-bit platforms without adding additional shims for 32-bit binaries. On 64-bit platforms, size of BPF header does not change compared to bpf_hdr as its members are already all 64-bit long. On 32-bit platforms, the size may increase by 8 bytes. For backward compatibility, struct bpf_hdr with struct timeval is still the default header unless new time stamp format is explicitly requested. However, the behaviour may change in the future and all relevant code is wrapped around "#ifdef BURN_BRIDGES" for now.
- Add experimental support for tagging mbufs with time stamps from a lower layer, e.g., device driver. Currently, mbuf_tags(9) is used to tag mbufs. The time stamps must be uptime in 'struct bintime' format as binuptime(9) and getbinuptime(9) do.
Reviewed by: net@
|
#
198570 |
|
29-Oct-2009 |
ru |
HZ is now 1000 on most platforms, update a comment.
Reviewed by: phk, markm
|
#
189821 |
|
14-Mar-2009 |
das |
Namespace: adjtime(), futimes(), futimesat(), lutimes(), and settimeofday() are BSD extensions.
Also include <sys/select.h> in user code, since this header is also supposed to define most of the symbols there.
|
#
179096 |
|
18-May-2008 |
jb |
Remove some DTrace hook definitions that are now in dtrace_bsd.h which contains all the hook definitions rather than splattering them all over the header files.
The definitions are only valid when the KDTRACE_HOOKS kernel option is defined, so other kernel sources have no need to see them.
|
#
178429 |
|
22-Apr-2008 |
phk |
Now that all platforms use genclock, shuffle things around slightly for better structure.
Much of this is related to <sys/clock.h>, which should really have been called <sys/calendar.h>, but unless and until we need the name, the repocopy can wait.
In general the kernel does not know about minutes, hours, days, timezones, daylight savings time, leap-years and such. All that is theoretically a matter for userland only.
Parts of kernel code does however care: badly designed filesystems store timestamps in local time and RTC chips almost universally track time in a YY-MM-DD HH:MM:SS format, and sometimes in local timezone instead of UTC. For this we have <sys/clock.h>
<sys/time.h> on the other hand, deals with time_t, timeval, timespec and so on. These know only seconds and fractions thereof.
Move inittodr() and resettodr() prototypes to <sys/time.h>. Retain the names as it is one of the few surviving PDP/VAX references.
Move startrtclock() to <machine/clock.h> on relevant platforms, it is a MD call between machdep.c/clock.c. Remove references to it elsewhere.
Remove a lot of unnecessary <sys/clock.h> includes.
Move the machdep.disable_rtc_set sysctl to subr_rtc.c where it belongs. XXX: should be kern.disable_rtc_set really, it's not MD.
|
#
177791 |
|
31-Mar-2008 |
kib |
Add the libc glue and headers definitions for the *at() syscalls.
Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho
|
#
175429 |
|
18-Jan-2008 |
davidxu |
Add POSIX clock id CLOCK_THREAD_CPUTIME_ID, this can be used to measure per-thread runtime in user code.
|
#
174043 |
|
28-Nov-2007 |
jb |
Remove _SOLARIS_C_SOURCE compatibility definitions. Unfortunately the ZFS porting style didn't extend this, instead using a heap of additional header files that don't get installed.
My intention had been to allow OpenSolaris external code to build on FreeBSD out of the box (i.e. without a src tree).
|
#
162978 |
|
03-Oct-2006 |
jb |
Solaris compatibility only: Be specific about the fact that the inline function takes no arguments.
|
#
160987 |
|
04-Aug-2006 |
jb |
Add some OpenSolaris compatibility definitions which are only visible if _SOLARIS_C_SOURCE is defined.
Add two function prototypes which are required to feed high-resolution times to DTrace. DTrace requires it's own functions with the dtrace_ prefix so that it knows not to try and trace them. This is a rule that code executed from the DTrace probe context must obey.
The two functions are only be compiled if the KDTRACE option is defined to compile in kernel support for loading the DTrace modules.
|
#
152844 |
|
26-Nov-2005 |
rwatson |
Add several aliases for existing clockid_t names to indicate that the application wishes to request high precision time stamps be returned:
Alias Existing
CLOCK_REALTIME_PRECISE CLOCK_REALTIME CLOCK_MONOTONIC_PRECISE CLOCK_MONOTONIC CLOCK_UPTIME_PRECISE CLOCK_UPTIME
Add experimental low-precision clockid_t names corresponding to these clocks, but implemented using cached timestamps in kernel rather than a full time counter query. This offers a minimum update rate of 1/HZ, but in practice will often be more frequent due to the frequency of time stamping in the kernel:
New clockid_t name Approximates existing clockid_t
CLOCK_REALTIME_FAST CLOCK_REALTIME CLOCK_MONOTONIC_FAST CLOCK_MONOTONIC CLOCK_UPTIME_FAST CLOCK_UPTIME
Add one additional new clockid_t, CLOCK_SECOND, which returns the current second without performing a full time counter query or cache lookup overhead to make sure the cached timestamp is stable. This is intended to support very low granularity consumers, such as time(3).
The names, visibility, and implementation of the above are subject to change, and will not be MFC'd any time soon. The goal is to expose lower quality time measurement to applications willing to sacrifice accuracy in performance critical paths, such as when taking time stamps for the purpose of rescheduling select() and poll() timeouts. Future changes might include retrofitting the time counter infrastructure to allow the "fast" time query mechanisms to use a different time counter, rather than a cached time counter (i.e., TSC).
NOTE: With different underlying time mechanisms exposed, using different time query mechanisms in the same application may result in relative non-monoticity or the appearance of clock stalling for a single clockid_t, as a cached time stamp queried after a precision time stamp lookup may be "before" the time returned by the earlier live time counter query.
|
#
152585 |
|
18-Nov-2005 |
andre |
Add CLOCK_UPTIME to clock_gettime(2) reporting the current uptime measured in SI seconds.
Sponsored by: TCP/IP Optimization Fundraise 2005
|
#
144529 |
|
02-Apr-2005 |
das |
Define CLOCK_* and TIMER_* in time.h, where they are supposed to be.
|
#
140483 |
|
19-Jan-2005 |
ps |
move kern_nanosleep to sys/syscallsubr.h
Requested by: jhb
|
#
140481 |
|
19-Jan-2005 |
ps |
- rename nanosleep1 to kern_nanosleep - Add a 32bit syscall entry for nanosleep
Reviewed by: peter Obtained from: Yahoo!
|
#
139825 |
|
07-Jan-2005 |
imp |
/* -> /*- for license, minor formatting changes
|
#
127976 |
|
07-Apr-2004 |
imp |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core
|
#
126401 |
|
29-Feb-2004 |
phk |
Move boottime from <sys/kernel.h> to <sys/time.h> where it belongs.
|
#
121524 |
|
26-Oct-2003 |
alfred |
constify bintime_add, bintime_sub, bintime2timespec, timespec2bintime, bintime2timeval and timeval2bintime.
|
#
121523 |
|
26-Oct-2003 |
alfred |
constify the second args to timevaladd() and timevalsub().
|
#
111300 |
|
23-Feb-2003 |
phk |
Implement CLOCK_MONOTONIC.
|
#
108477 |
|
31-Dec-2002 |
mike |
Move struct timeval to its own header so that it can be shared between multiple headers.
|
#
108142 |
|
20-Dec-2002 |
sam |
add generic rate limiting support from netbsd; ratelimit is purely time based, ppsratecheck is for controlling packets/second
Obtained from: netbsd
|
#
106304 |
|
01-Nov-2002 |
phk |
Introduce a "time_uptime" global variable which holds the time since boot in seconds.
|
#
98270 |
|
15-Jun-2002 |
wollman |
Fix visibility issues; use <sys/timespec.h>.
|
#
96052 |
|
05-May-2002 |
bde |
Fixed breakage of binary compatibility of the kern.clockrate sysctl in sys/time.h rev.1.53, etc. Zero out the entire struct clkinfo and not just the new spare part of it so that there is no possibility of leaking kernel stack context to userland.
|
#
95817 |
|
30-Apr-2002 |
phk |
Brucifixion ? Yes, out that door, row on the left, one patch each.
|
#
95491 |
|
26-Apr-2002 |
phk |
Various cleanup and sorting of clock reading functions. Add the two functions missing in the complete 12 function complement.
|
#
94752 |
|
15-Apr-2002 |
phk |
Take the "tickadj" element out of struct clockinfo. Our adjtime(2) implementation is being changed and the very concept of tickadj will no longer be meaningful.
|
#
92769 |
|
20-Mar-2002 |
phk |
Various style issues from a recent brucification: use uint_%dt not u_int%dt Avoid LL suffixed intergers where we can by using explicit casts. (The last two I don't know how to avoid.) Add an explanation why truncation rather than rounding is used.
Inspired by: bde
|
#
92719 |
|
19-Mar-2002 |
alfred |
Remove __P
|
#
90384 |
|
08-Feb-2002 |
peter |
Fix world breakage (compiling libstdc++): sys/time.h:137: integer constant out of range sys/time.h:137: warning: decimal integer constant is so large that it is unsigned sys/time.h:153: integer constant out of range sys/time.h:153: warning: decimal integer constant is so large that it is unsigned
|
#
90363 |
|
07-Feb-2002 |
phk |
Remove the inline assembly optimized versins of bintime_*() functions, they have no measurable effect and they don't belong in an MI header even if they did.
|
#
90362 |
|
07-Feb-2002 |
phk |
Revise timercounters to use binary fixed point format internally.
The binary format "bintime" is a 32.64 format, it will go to 64.64 when time_t does.
The bintime format is available to consumers of time in the kernel, and is preferable where timeintervals needs to be accumulated.
This change simplifies much of the magic math inside the timecounters and improves the frequency and time precision by a couple of bits.
I have not been able to measure a performance difference which was not a tiny fraction of the standard deviation on the measurements.
|
#
83045 |
|
04-Sep-2001 |
obrien |
style(9) the structure definitions.
|
#
77064 |
|
23-May-2001 |
phk |
Polish getnano{up}*time() prototypes.
PR: 15908 Submitted by: Kelly Yancey kbyanc@posi.net
|
#
74574 |
|
21-Mar-2001 |
markm |
Paranthesise macros. This fixes an unlikely bug and silences lint.
|
#
72093 |
|
06-Feb-2001 |
asmodai |
Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
|
#
58377 |
|
20-Mar-2000 |
phk |
Isolate the Timecounter internals in their own two files.
Make the public interface more systematically named.
Remove the alternate method, it doesn't do any good, only ruins performance.
Add counters to profile the usage of the 8 access functions.
Apply the beer-ware to my code.
The weird +/- counts are caused by two repocopies behind the scenes: kern/kern_clock.c -> kern/kern_tc.c sys/time.h -> sys/timetc.h (thanks peter!)
|
#
55205 |
|
29-Dec-1999 |
peter |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
|
#
55045 |
|
23-Dec-1999 |
bde |
Fixed missing declarations of futimes(2) and lutimes(2).
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48887 |
|
18-Jul-1999 |
bde |
Added a sysctl "kern.timecounter.hardware" for selecting the hardware used for timecounting. The possible values are the names of the physically present harware timecounters ("i8254" and "TSC" on i386's).
Fixed some nearby bitrot in comments in <sys/time.h>.
Reviewed by: phk
|
#
46054 |
|
25-Apr-1999 |
phk |
Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the timecounter as well
Asked for by: bde, jhay
|
#
44666 |
|
11-Mar-1999 |
phk |
Make even more of the PPSAPI implementations generic.
FLL support in hardpps()
Various magic shuffles and improved comments
Style fixes from Bruce.
|
#
44574 |
|
08-Mar-1999 |
phk |
Integrate the new "nanokernel" PLL from Dave Mills.
This code is backwards compatible with the older "microkernel" PLL, but allows ntpd v4 to use nanosecond resolution. Many other improvements.
PPS_SYNC and hardpps() are NOT supported yet.
|
#
41827 |
|
15-Dec-1998 |
des |
Wrap two macros into do { ... } while (0), and fix the way they're used in the kernel.
Reviewed by: bde
|
#
40608 |
|
23-Oct-1998 |
phk |
Remove the tc_cost field from timecounters.
|
#
36810 |
|
09-Jun-1998 |
phk |
Add a tc_ prefix to struct timecounter members.
Urged by: bde
|
#
36741 |
|
07-Jun-1998 |
phk |
Add a member function more to the timecounters, this one is for use with latch based PPS implementations. The client that uses it will be committed after more testing.
|
#
36728 |
|
07-Jun-1998 |
phk |
Sigh, all good words are reserved words these days... s/private/priv/
Noticed by: sos
|
#
36719 |
|
07-Jun-1998 |
phk |
Add a "this" style argument and a "void *private" so timecounters can figure out which instance to wount with.
|
#
36441 |
|
28-May-1998 |
phk |
Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.
Use an inline function rather than a macro for timecounter delta.
Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead.
Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch()
This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems.
WARNING: Programs which muck about with struct proc in userland will have to be fixed.
Reviewed, but found imperfect by: bde
|
#
36199 |
|
19-May-1998 |
phk |
Change a data type internal to the timecounters, and remove the "delta" function.
Reviewed, but not entirely approved by: bde
|
#
36119 |
|
17-May-1998 |
phk |
s/nanoruntime/nanouptime/g s/microruntime/microuptime/g
Reviewed by: bde
|
#
35401 |
|
23-Apr-1998 |
eivind |
Convert timespecclear() back to an expression (this time without sideeffects).
|
#
35396 |
|
22-Apr-1998 |
eivind |
Wrap timerclear in do { ... } while(0)
|
#
35058 |
|
06-Apr-1998 |
phk |
Make a kernel version of the timer* functions called timerval* to be more consistent.
OK'ed by: bde
|
#
35029 |
|
04-Apr-1998 |
phk |
Time changes mark 2:
* Figure out UTC relative to boottime. Four new functions provide time relative to boottime.
* move "runtime" into struct proc. This helps fix the calcru() problem in SMP.
* kill mono_time.
* add timespec{add|sub|cmp} macros to time.h. (XXX: These may change!)
* nanosleep, select & poll takes long sleeps one day at a time
Reviewed by: bde Tested by: ache and others
|
#
34961 |
|
30-Mar-1998 |
phk |
Eradicate the variable "time" from the kernel, using various measures. "time" wasn't a atomic variable, so splfoo() protection were needed around any access to it, unless you just wanted the seconds part.
Most uses of time.tv_sec now uses the new variable time_second instead.
gettime() changed to getmicrotime(0.
Remove a couple of unneeded splfoo() protections, the new getmicrotime() is atomic, (until Bruce sets a breakpoint in it).
A couple of places needed random data, so use read_random() instead of mucking about with time which isn't random.
Add a new nfs_curusec() function.
Mark a couple of bogosities involving the now disappeard time variable.
Update ffs_update() to avoid the weird "== &time" checks, by fixing the one remaining call that passwd &time as args.
Change profiling in ncr.c to use ticks instead of time. Resolution is the same.
Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call hzto() which subtracts time" sequences.
Reviewed by: bde
|
#
34901 |
|
26-Mar-1998 |
phk |
Add two new functions, get{micro|nano}time.
They are atomic, but return in essence what is in the "time" variable. gettime() is now a macro front for getmicrotime().
Various patches to use the two new functions instead of the various hacks used in their absence.
Some puntuation and grammer patches from Bruce.
A couple of XXX comments.
|
#
34030 |
|
04-Mar-1998 |
dufault |
Reviewed by: msmith, bde long ago POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
|
#
33805 |
|
25-Feb-1998 |
bde |
Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header, so POSIX sources can't include it. However, until recently it was included by <sys/stat.h>, so it should have been (almost) entirely inside _POSIX_SOURCE ifdefs for <sys/stat.h> to be (almost) POSIX.1 conformant, but it was only about half inside _POSIX_SOURCE ifdefs.
|
#
33703 |
|
21-Feb-1998 |
jb |
Add #ifndef _POSIX_SOURCE around the timecounter definitions which rely on u_int being defined in sys/types.h, but isn't if _POSIX_SOURCE is defined.
This fixes the gnu/lib/libstdc++ breakage. I've successfully completed a make world after this and a kernel (without many devices).
|
#
33690 |
|
20-Feb-1998 |
phk |
Replace TOD clock code with more systematic approach.
Highlights: * Simple model for underlying hardware. * Hardware basis for timekeeping can be changed on the fly. * Only one hardware clock responsible for TOD keeping. * Provides a real nanotime() function. * Time granularity: .232E-18 seconds. * Frequency granularity: .238E-12 s/s * Frequency adjustment is continuous in time. * Less overhead for frequency adjustment. * Improves xntpd performance.
Reviewed by: bde, bde, bde
|
#
32052 |
|
28-Dec-1997 |
phk |
wash, sort and put in order various nits from the i586_ctr -> tsc commit.
Pointed out by: bde
|
#
26897 |
|
24-Jun-1997 |
jhay |
Add tickadj to struct clockinfo, like NetBSD and OpenBSD. NOTE: libc, time, kgmon and rpc.rstatd will have to be recompiled.
|
#
25775 |
|
13-May-1997 |
peter |
struct timespec needs to be useable with just <time.h>, but needs to not conflict with the kernel visible one. Make the new stuff not visible if _ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are not part of the base 1003.1-1990 standard or ansi (says Bruce).
Reviewed by: bde
|
#
25578 |
|
08-May-1997 |
peter |
Add posix clock and timer definitions
Obtained from: NetBSD
|
#
24101 |
|
22-Mar-1997 |
bde |
Fixed some invalid (non-atomic) accesses to `time', mostly ones of the form `tv = time'. Use a new function gettime(). The current version just forces atomicicity without fixing precision or efficiency bugs. Simplified some related valid accesses by using the central function.
|
#
22975 |
|
22-Feb-1997 |
peter |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
21099 |
|
30-Dec-1996 |
peter |
Add NetBSD/OpenBSD compatable timeradd()/timersub() user-space macros.
These are deliberately not visible to the kernel since we have timevaladd() and timevalsub() functions there.
Obtained from: NetBSD/OpenBSD
|
#
18397 |
|
19-Sep-1996 |
nate |
In sys/time.h, struct timespec is defined as:
/* * Structure defined by POSIX.4 to be like a timeval. */ struct timespec { time_t ts_sec; /* seconds */ long ts_nsec; /* and nanoseconds */ };
The correct names of the fields are tv_sec and tv_nsec.
Reminded by: James Drobina <jdrobina@infinet.com>
|
#
14487 |
|
11-Mar-1996 |
hsu |
Merge in Lite2: make timespec struct POSIX.4 compliant stylistic changes to function prototypes Reviewed by: davidg & bde
|
#
13016 |
|
25-Dec-1995 |
bde |
Finished staticizing of timevalfix().
|
#
3484 |
|
09-Oct-1994 |
phk |
Cosmetics. (sort of) Added 19 prototypes.
|
#
3304 |
|
02-Oct-1994 |
phk |
Prototypes, prototypes and even more prototypes. Not quite done yet, but getting closer all the time.
|
#
2112 |
|
18-Aug-1994 |
wollman |
Fix up some sloppy coding practices:
- Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
|
#
1817 |
|
02-Aug-1994 |
dg |
Added $Id$
|
#
1542 |
|
24-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1541, which included commits to RCS files with non-trunk default branches.
|
#
1541 |
|
24-May-1994 |
rgrimes |
BSD 4.4 Lite Kernel Sources
|