Commit Graph

11 Commits

Author SHA1 Message Date
christos f73c6e5980 Change iostat_alloc() to take the parent pointer and the name directly, so
that callers are not responsible for initializing the fields. Store the name
inside the struct instead of maintaining a pointer to external storage, or
leaked memory (nfs case).
2006-08-23 17:19:32 +00:00
kardel de4337ab21 merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
yamt 80dfcaed5b iostat_alloc: don't forget to initialize io_busy etc.
fix weird "time" in iostat.
2006-04-21 13:58:10 +00:00
yamt b9eb99f927 iostat_find/disk_find: constify and simplify. 2006-04-21 13:53:30 +00:00
yamt c1078a4a2a sysctl_io_stats_setup: HW_IOSTATS is iostats, not drivestats. 2006-04-21 13:52:23 +00:00
yamt f7fc2f12db remove some unnecessary #include. 2006-04-21 13:51:24 +00:00
yamt 86ddb75ddc iostat_alloc: use waitok allocation. 2006-04-21 13:50:38 +00:00
yamt 1a29b7c5c3 unwrap a short line. 2006-04-21 13:49:32 +00:00
yamt 6237cabc7d whitespace. 2006-04-21 13:48:57 +00:00
blymn 10df330c85 Prefix iostat structure elements with io_ 2006-04-20 12:13:51 +00:00
blymn eb5227b874 Functions to support io statistics collection. 2006-04-14 13:17:20 +00:00