History log of /external/fio/time.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0de5b26f6e177aacac0683306c47e0cbaf58b0b6 22-Feb-2014 Jens Axboe <axboe@fb.com> Unify the time handling

Some options are in seconds, if no units are given. These include
runtime/timeout, startdelay, and ramp_time. Handle this
appropriately. Internally it should all be microseconds now, it's
just the conversion factor.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/time.c
74454ce40f1a5e1e682da0a8acb824a7f6910270 20-Feb-2014 Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> fio: allow milliseconds on all time specifiers

This patch allows all time specifiers to be specified down to
milliseconds. Default will stay seconds for compatibility with old
configs.

It also adds documentation to the existing time units day, hour and
minute.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/time.c
aa60bc582119e8fcd4588dc5820c1cbcab599984 04-Jan-2013 Jens Axboe <axboe@kernel.dk> time: convert to uint64_t

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/time.c
39ab7da23768081db50b0026e0c2a8e38752e7a4 06-Nov-2012 Jens Axboe <axboe@kernel.dk> Move code around to satisfy t/stest linkage

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/time.c
c03b373d2281ff4e0ad191d7afb66b459887394c 16-Mar-2012 Jens Axboe <axboe@kernel.dk> Fix wrap bug in mtime_since()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/time.c
03e20d687566753b90383571e5e152c5142bdffd 02-Jan-2011 Bruce Cran <bruce@cran.org.uk> First snapshot of FIO for Windows

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/time.c
09a324028d68c485a8c4b33257b262123c27394f 15-Aug-2010 Jens Axboe <jaxboe@fusionio.com> Fixup misuse of get_cpu_clock()

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/time.c
c223da83e253b0057bb029bf4fbb55a05844215c 24-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add support for specific clock sources

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
4580885d413c7bca742dc2a373b9afcd5f48d7f8 11-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Get rid of (now) unused rate_throttle()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
581e71417760e0aa86eac0acd704253ff0eeea4f 09-Jun-2009 Jens Axboe <jens.axboe@oracle.com> Add support for limiting only rate in only one direction

So now you can say 'limit writes to 10MB/sec' and have reads go
full throttle, for instance.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
6dd6f2cd9fd0a59054c9d003c758d810fd5a8f4a 10-Dec-2008 Jens Axboe <jens.axboe@oracle.com> __usec_sleep() really just spins, rename it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
b29ee5b3dee417016164198fb240344ef666de2b 11-Sep-2008 Jens Axboe <jens.axboe@oracle.com> Update ramp_time

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
721938ae7fae0f6d470a7e32e177ea5dce480229 10-Sep-2008 Jens Axboe <jens.axboe@oracle.com> Add ramp_time option

Sometimes it's useful to let a job settle for a little while
before taking any measurements on latency and throughput, since
the initial rate on eg a write workload may be much higher than
the longer sustained rate.

So add a ramp_time option that allows the user to specify a lead
ramp time that must have passed before fio takes any performance
numbers into account.

Suggested by "Jenkins, Lee" <Lee.Jenkins@hp.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
5ec10eaad3b09875b91e19a20bbdfa06f2117562 06-Mar-2008 Jens Axboe <jens.axboe@oracle.com> Style fixups

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
10927316a4bd0e2ceba98e62c062e352c0e312fe 21-Nov-2007 Shawn Lewis <shawnlewis@google.com> fix utime_since overflow

utime_since was using a long for its return which overflows when the difference
between times is more than about 35 minutes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
2bfe24bdd9ce313e5323d947952067b1475dd2cc 21-May-2007 Jens Axboe <jens.axboe@oracle.com> Attempt to work-around possible time warp

A theory - we see gettimeofday() going backwards on some
systems, try and correct for that by just returning 0
for time passed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
64b18e125219430fbfe69e61642dbcaa1861434e 27-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Remove redundant double casts in time functions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
2dc1bbeb58edc85f2829eed6729862c438ea2353 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Move thread options into a seperate structure

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
a998c869545503e733f4ff0f2bf6fc1e2dceec6c 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Improve rate accounting

Don't assume usec_sleep() is extremely precise.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
4e991c23d2d06484f581eb5e2105bc102cb35941 15-Mar-2007 Jens Axboe <jens.axboe@oracle.com> Support for setting rated based on IOPS

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
c3852ae26bbe6072b2905938bb4fb0f511977cba 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Improve rate usec calculation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
413dd459a7710ba421061e840dd9ac3161c70f20 23-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Streamline thread_data data direction setting and checking

Currently it's a mess of ->ddir, ->iomix and ->sequential. Add
a TD_DDIR_* for each of these, so we can store them as one value.

A prerequisite for the next parsing cleanup.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
a2f77c9f5f01186882762264100b6d30ee77a55d 22-Feb-2007 Jens Axboe <jens.axboe@oracle.com> Improve thread reap handling

It's a bit of a mess currently, streamline and clean it up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
fd841467ce4a5875dba2d21da6851936b46fdb08 13-Jan-2007 Jens Axboe <jens.axboe@oracle.com> [PATCH] Improve rate functionality

usec_sleep() now takes into account the granularity of nanosleep().
Also stop using the remainder returned by nanosleep(), it doesn't
appear to always be accurate. Instead just check the elapsed time
manually.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
1e97cce9f5a87a67293a05ec4533ed6968698b2e 05-Dec-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Fix warnings from icc

icc spewed a bunch of warnings on building fio, but it did actually build
and work. Some of them are real bugs, most are just "helpful" warnings.

icc doesn't like pointer arithmetic, however these are not fixed up. It
works as-is, just ignore those class of warnings.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
690089990d051d86b4ef2b6fd5c1972c0dd4897b 24-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Improve time accounting for a job

We need to account loop time in usecs, or the null io engine can
get the timing wrong. For the system usage stats, don't use summed
up loop counts, but calculate end-start time instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
02bcaa8c31feb93c61b701d143a7eea3efd2124d 24-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Time and seek optimizations

We did too many gettimeofday() calls, this patch cuts the number by
40%. Use clock_gettime() MONOTONIC instead, it is faster on my system
at least.

This patch also optimizes calling lseek() only when necessary for the
sync io engine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
6043c5790f9978814ec25e3ea8f4d574daf6266e 03-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add in-progress io rate

Dumped along with percentage and eta.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
a00735e66f9ec42549da94eba3170e543b542904 03-Nov-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Add seperate read/write block size options

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
263e529f7d90892a610a5b26a519116fe3a675a6 18-Oct-2006 Jens Axboe <jens.axboe@oracle.com> [PATCH] Split status/eta code out of fio.c

All in the name of making the code base easier to go through.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/time.c
b990b5c06801d6d25e3fcc5415efbbe7bb23341e 14-Sep-2006 Jens Axboe <axboe@kernel.dk> [PATCH] Basic support for a cpu cycle eater job

This will allow you to put some cpu load on the box, while other
threads are doing IO.
/external/fio/time.c
6796209a7e3d39522b0f5599aba277809786335e 07-Jun-2006 Jens Axboe <axboe@suse.de> [PATCH] Shorten the file names, stupid to prefix everything with fio-
/external/fio/time.c