aboutsummaryrefslogtreecommitdiffstats
path: root/stat.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-13logging: expand runstates eligible for loggingVincent Fu1-2/+17
2024-02-13logging: record timestamp for each threadVincent Fu1-3/+2
2024-01-25stat: log out both average and max over the windowAnkit Kumar1-13/+19
2023-09-08Make log_unix_epoch an official alias of log_alternate_epochaggieNick021-1/+1
2023-09-08Record job start time to fix time pain pointsaggieNick021-1/+5
2023-07-21stats: Add hint information to per priority level statsprio-hintsDamien Le Moal1-3/+7
2023-07-14stat: add diskutil aggregated sectors to normal outputVincent Fu1-3/+5
2023-07-14stat: add new diskutil sectors to json outputVincent Fu1-0/+6
2023-07-13diskutil: Report how many sectors have been read and writtenBart Van Assche1-2/+5
2023-03-24io_uring_cmd: suppport for trim operationAnkit Kumar1-1/+1
2023-03-20fio: steadystate: allow for custom check intervalChristian Loehle1-3/+4
2023-03-15stat: Fix ioprio printDamien Le Moal1-40/+45
2023-03-03Refactor for_each_td() to catch inappropriate td ptr reuseHorshack1-27/+21
2022-10-21stat: fix segfault with fio option --bandwidth-logAnkit Kumar1-1/+4
2022-04-17fixed memory leak of not freed jobs_eta in several casesDenis Pronin1-0/+2
2022-03-29Handle finished jobs when using status-intervalKozlowski Mateusz1-0/+6
2022-02-20Spelling and grammar fixesVille Skyttä1-1/+1
2022-02-03stat: make free_clat_prio_stats() safe against NULLNiklas Cassel1-0/+3
2022-02-03Merge branch 'fio_pr_alternate_epoch' of https://github.com/PCPartPicker/fioJens Axboe1-1/+1
2022-02-03stat: convert json output to a new per priority granularity formatNiklas Cassel1-16/+28
2022-02-03stat: report clat stats on a per priority granularityNiklas Cassel1-77/+274
2022-02-03stat: disable per prio stats where not neededNiklas Cassel1-0/+54
2022-02-03stat: add helper for resetting the latency bucketsNiklas Cassel1-9/+13
2022-02-03stat: increment members counter after call to sum_thread_stats()Niklas Cassel1-1/+2
2022-02-03stat: use enum fio_ddir consistentlyNiklas Cassel1-7/+10
2022-02-03stat: add a new function to allocate a clat_prio_stat arrayNiklas Cassel1-0/+40
2022-01-17stat: move unified=both mixed allocation and calculation to new helperNiklas Cassel1-56/+39
2022-01-17stat: remove duplicated code in show_mixed_ddir_status()Niklas Cassel1-157/+27
2022-01-10stat: remove unnecessary bool parameter to sum_thread_stats()Niklas Cassel1-30/+23
2021-12-18stat: code cleanup and leak freeJens Axboe1-34/+50
2021-12-15stat: sum sync_stat before reassigning bool firstNiklas Cassel1-1/+2
2021-12-14Support for alternate epochs in fio log filesaggieNick021-1/+1
2021-11-25stat: make add lat percentile functions inlineNiklas Cassel1-7/+8
2021-11-25stat: simplify add_lat_percentile_prio_sample()Niklas Cassel1-10/+7
2021-11-25stat: rename add_lat_percentile_sample_noprio()Niklas Cassel1-5/+6
2021-11-25stat: rename add_lat_percentile_sample()Niklas Cassel1-5/+8
2021-11-25stat: add comments describing the quirky behavior of clat prio samplesNiklas Cassel1-0/+24
2021-11-18fio: Introduce the log_entries optionDamien Le Moal1-7/+5
2021-11-08stat: create a init_thread_stat_min_vals() helperNiklas Cassel1-45/+21
2021-10-12Query Windows clock frequency and use reported maxBrandon Paupore1-0/+4
2021-09-08stat: Avoid freeing null pointerErwan Velu1-2/+1
2021-09-03fio: Introduce the log_prio optionDamien Le Moal1-36/+39
2021-05-13stat: fix integer overflow in convert_agg_kbytes_percentFelix Abecassis1-1/+1
2021-03-18Merge branch 'unified-merge' of https://github.com/jeffreyalien/fioJens Axboe1-17/+299
2021-03-18Add functionality to the unified_rw_reporting parameter to outputBrandon Paupore1-17/+299
2020-11-30stat: Prevent the BW and IOPS logging interval from creeping upJeff Lien1-7/+28
2020-11-27stat: allow bandwidth log stats to grow to MAX_LOG_ENTRIESPanagiotis Moustafellos1-0/+8
2020-09-20Change the return value of two functions from 'void' into 'int'Bart Van Assche1-1/+3
2020-08-16fio: add for_each_rw_ddir() macroAlexey Dobriyan1-9/+7
2020-07-24stat: stop triggerring division by zero on bandwidth lower than 1KBpssribs1-10/+15
2020-05-24Make json_object_add_value_string() duplicate its 'value' argumentBart Van Assche1-5/+1
2020-04-29helper_thread: fix inconsistent status intervalsVincent Fu1-12/+0
2020-03-31stat: eliminate extra log samplesVincent Fu1-1/+1
2020-02-06Merge branch 'master' of https://github.com/vincentkfu/fioJens Axboe1-2/+6
2020-02-05Make the JSON code easier to analyzeBart Van Assche1-1/+1
2020-02-05stat: summary statistics for both high/low priority latenciesVincent Fu1-2/+6
2020-02-04stat: fix high/low prio unified rw bugVincent Fu1-2/+2
2020-02-04fio: better distinguish between high and low priorityVincent Fu1-17/+17
2020-02-04stat: make priority summary statistics consistent with percentilesVincent Fu1-7/+14
2020-02-04fio: report percentiles for slat, clat, latVincent Fu1-230/+133
2020-02-04fio: groundwork for adding slat, lat percentilesVincent Fu1-17/+25
2020-01-28stat: fix calculation of bw and iops statistics based on samplesMaciej S. Szmigiero1-1/+1
2020-01-22Per-command priority: Priority logging and libaio/io_uring cmdprio_percentagePhillip Chen1-31/+194
2020-01-22Whitespace standardizationPhillip Chen1-2/+2
2020-01-17stat: Fix another memory leak in add_ddir_status_json()Bart Van Assche1-9/+13
2020-01-17stat: Fix a memory leak in add_ddir_status_json()Bart Van Assche1-2/+2
2020-01-17stat: Remove several superfluous if-testsBart Van Assche1-6/+3
2020-01-17stat: Remove more superfluous castsBart Van Assche1-4/+4
2020-01-17stat: Remove two superfluous castsBart Van Assche1-2/+2
2020-01-15Moved diskutil reporting functions to stat.cLeaflessMelospiza1-0/+212
2020-01-06Include "oslib/asprintf.h" where necessaryBart Van Assche1-0/+1
2020-01-01Suppress a Coverity taint warning in check_status_file()Bart Van Assche1-0/+3
2019-10-13stat: fix corruption in histogram logsSitsofe Wheeler1-1/+1
2019-08-14Optimize the code that copies stringsBart Van Assche1-7/+8
2019-05-16stat: remove terse v2 blank lines with description not setVincent Fu1-3/+4
2019-03-25stat: eliminate unneeded curly bracesVincent Fu1-6/+5
2019-03-21stat: fix accumulation of latency bucketsVincent Fu1-0/+4
2019-02-21stat: use long doubles to identify latency percentilesVincent Fu1-1/+4
2019-02-07stat: put 'percentiles' object in appropriate 'clat_ns' or 'lat_ns' parentVincent Fu1-1/+4
2019-02-07stat: clean up calc_clat_percentilesVincent Fu1-6/+4
2018-12-14Fix 'min' latency times being 0 with ramp_timeJens Axboe1-1/+2
2018-12-14Add cache hit statsJens Axboe1-4/+27
2018-11-30stat: assign for first stat iteration, don't sumJens Axboe1-5/+13
2018-11-30stat: only apply proper stat summing for event timestampsJens Axboe1-15/+37
2018-10-23stat: use helper for IO direction nameJens Axboe1-6/+4
2018-09-22stat: print the right percentile variant for json outputJens Axboe1-3/+9
2018-09-07Revert "client: respect terse output on client <--> backend relationship"Jens Axboe1-2/+0
2018-08-25Make td_io_u_lock/unlock() explicitJens Axboe1-12/+32
2018-08-24Collect and show zone reset statisticsBart Van Assche1-3/+10
2018-08-23init: add semantics for all types of backends runningLuis Chamberlain1-1/+1
2018-08-23client: respect terse output on client <--> backend relationshipLuis Chamberlain1-0/+2
2018-07-26Merge branch 'sgunmap2' of https://github.com/vincentkfu/fioJens Axboe1-6/+39
2018-07-26stat: add IO submit and complete depths to JSON outputVincent Fu1-6/+39
2018-07-23Add support for >= 4G block sizesJeff Furlong1-9/+11
2018-06-29fio: add job_runtime to the thread json outputJosef Bacik1-0/+1
2018-06-08stat: fix --bandwidth-log segfaultIgor Konopko1-3/+5
2018-06-07idle-prof: Fix segment fault issue when run with '--idle-prof' and multiple o...Friendy.Su@sony.com1-0/+2
2018-06-05Fix variable shadowingJens Axboe1-3/+3
2018-06-05Remove show_run_stats() because it has no callersBart Van Assche1-7/+0
2018-04-18Declare stat_calc_lat_nu() staticBart Van Assche1-1/+1
2018-04-09stat: remove dead 'nr_uninit' assignmentJens Axboe1-1/+0
2018-03-21Refactor #includes and headersSitsofe Wheeler1-3/+0
2018-03-15Rename fio_mutex into fio_semBart Van Assche1-9/+9
2018-03-12stat: Fix a compiler warning in __show_run_stats()Bart Van Assche1-2/+3
2018-03-06Reduce LOG_MSEC_SLACKJeff Furlong1-6/+8
2018-03-01Fix overflow of counters incremented on each I/O operationAlexander Larin1-6/+6
2018-02-08Include 'numjobs' in global options outputJens Axboe1-5/+3
2018-01-25stat: add total fsync ios to json outputJens Axboe1-0/+1
2018-01-25Track fsync/fdatasync/sync_file_range issue countJens Axboe1-3/+9
2018-01-24Add suppor for logging fsync (and friends) latenciesJens Axboe1-57/+118
2018-01-06stat: don't add duplicate clat entries for jsonJens Axboe1-5/+3
2018-01-05Fix client/server "all clients" reportingJeff Furlong1-0/+2
2017-12-31stat: make lat_percentiles=1 use sample count from lat_statSitsofe Wheeler1-1/+8
2017-11-30steadystate: make flags conform to usual fio standardJens Axboe1-10/+10
2017-11-22add significant_figures parameterJeff Furlong1-15/+17
2017-11-03stat: add bw_bytes JSON keySitsofe Wheeler1-2/+5
2017-10-12Fix more overflows in percentile calculation for WindowsAndrzej Jakowski1-2/+2
2017-10-11Fix overflow in percentile calculation for WindowsAndrzej Jakowski1-1/+1
2017-10-09stat: update json+ output format for --lat_percentiles optionVincent Fu1-2/+7
2017-09-14stat: some bool conversionsJens Axboe1-20/+22
2017-09-13Add support for doing total latency percentilesJens Axboe1-8/+14
2017-09-01stat: fix shifted windowed logging when using multiple directionsSitsofe Wheeler1-6/+6
2017-08-23stat: increase the size of base to avoid overflowRichard Liu1-2/+3
2017-08-14stat: change indentation of the lat (nsec/usec/msec) section in the normal ou...Vincent Fu1-1/+1
2017-06-28stat: further group percentage fixesSitsofe Wheeler1-8/+8
2017-06-27stat: fix group percentageSitsofe Wheeler1-1/+1
2017-06-27stat: fix printf format specifierSitsofe Wheeler1-4/+4
2017-06-26stat: fix alignment of the iops statsJens Axboe1-2/+2
2017-06-23stat: Add iops stat and sample number information to terse formatAndreas Herrmann1-8/+22
2017-06-23stat: Merge show_thread_status_terse_* functionsAndreas Herrmann1-73/+15
2017-06-23stat: Print number of samples in bw and iops statsAndreas Herrmann1-3/+10
2017-06-23stat: Print one-line iops statAndreas Herrmann1-0/+16
2017-06-22Fixup some style issuesJens Axboe1-6/+8
2017-06-21nanosecond: reconcile terse output with nanosecond timing for latenciesVincent Fu1-6/+23
2017-06-21nanosecond: update completion latency recording and normal, json output to us...Vincent Fu1-65/+99
2017-06-21nanosecond: initial commit changing timeval to timespecVincent Fu1-13/+13
2017-06-05stat: correct json 'io_bytes' outputJens Axboe1-1/+2
2017-05-24lib/output_buffer: harden buf_output_free() and kill buf_output_clear()Jens Axboe1-1/+1
2017-05-23Drop circular dependency in log.c and lib/output_buffer.cTomohiro Kusumi1-2/+4
2017-05-19stat: Re-add output of basic bw information if bw_log is not writtenAndreas Herrmann1-3/+5
2017-05-03stat: reset_io_stats: fix a problem, rearrange some codeVincent Fu1-8/+9
2017-05-03stat: change json+ output format so that instead of printing the raw clat dat...Vincent Fu1-6/+5
2017-04-26stat: cleanup iops/bw logging functionsJens Axboe1-74/+33
2017-04-25stat: make next log time decision cleanerJens Axboe1-4/+6
2017-03-16Add 'stats' optionJens Axboe1-0/+6
2017-02-14Use 0 instead of DDIR_READ to iterate from 0 to DDIR_RWDIR_CNTTomohiro Kusumi1-2/+2
2017-01-02Improve IEC binary and SI decimal prefix handlingRobert Elliott1-36/+55
2017-01-02Clean up unit prefixes for binary multiples in comments and printsRobert Elliott1-3/+3
2017-01-02Convert group_run_stats to use bytes instead of KiB/KBRobert Elliott1-14/+9
2017-01-02Line up colons across read, write, and trim thread statsRobert Elliott1-1/+1
2016-12-13Merge git://git.kernel.dk/fio into steady-stateVincent Fu1-33/+43
2016-12-08steadystate: clean up checks for when steadystate termination is not engagedVincent Fu1-1/+1
2016-12-07steadystate: instead of including ss_sum_y in thread_stat record whether ss_s...Vincent Fu1-2/+1
2016-12-07steadystate: implement transmission of steadystate data over the wire in clie...Vincent Fu1-35/+42
2016-12-07steadystate: add line for output-format=normalVincent Fu1-10/+34
2016-12-06steadystate: get rid of ->ss_pct and encode this information in ->state via _...Vincent Fu1-2/+3
2016-11-27stat: Change access to io_sample unionSitsofe Wheeler1-19/+25
2016-11-22steadystate: bug fixesVincent Fu1-1/+1
2016-10-11iolog: fix --bandwidth-log segfaultsOmar Sandoval1-1/+1
2016-09-20stat: check if ctime_r() ends in a newline before strippingJens Axboe1-1/+2
2016-09-19Fix garbage characters in json output caused by time_buf being uninitializedJosh Sinykin1-0/+2
2016-08-22stat: don't trust per_unit_log() if log is NULLJens Axboe1-2/+2
2016-08-18Option for changing log files to use Unix epoch instead of beingKarl Cronburg1-1/+1
2016-08-16steadystate: kill ->last_in_group and ->ramp_time_oversteady-stateJens Axboe1-4/+4
2016-08-16steadystate: kill off ->attainedJens Axboe1-2/+2
2016-08-16steadystate: eliminate some steadystate_data membersJens Axboe1-2/+2
2016-08-16histogram: style and list fixupsJens Axboe1-1/+1
2016-08-16Merge branch 'histogram-delta' of https://github.com/cronburg/fio into histogramJens Axboe1-4/+5
2016-08-16Make histogram samples non-cumulative by tracking a linked-listKarl Cronburg1-4/+5
2016-08-15Various cleanupsJens Axboe1-5/+5
2016-08-15Fixup correct sparse warningsJens Axboe1-2/+2
2016-08-15Fix bug where measurements were not printed in the correct order when steady ...Vincent Fu1-6/+17
2016-08-15JSON output, code formatting changesVincent Fu1-12/+15
2016-08-15Steady state detection: enhance reporting of results, change memory allocatio...Vincent Fu1-5/+20
2016-08-15Change steadystate reporting:Vincent Fu1-2/+1
2016-08-15Fix typo, restore unintended HOWTO deletionVincent Fu1-1/+1
2016-08-15Allow fio to terminate jobs when steady state is attainedVincent Fu1-0/+35
2016-08-07stat: fixups to histogram loggingJens Axboe1-13/+21
2016-08-07Merge branch 'histograms-PR' of https://github.com/cronburg/fioJens Axboe1-0/+32
2016-08-06This commit / feature adds completion latency histogram output to fio, piggyb...Karl Cronburg1-0/+32
2016-08-03iolog: prevent early entry from skewing entire logging runJens Axboe1-1/+3
2016-07-22log: fix averaged latency loggingJens Axboe1-1/+1
2016-07-22log: fix missing entriesJens Axboe1-13/+30
2016-07-20drifting in output of interval-averaged values was eventually causing IOP sam...Karl Cronburg1-1/+1
2016-07-06samples being added to the pending log were silently dropped because we faile...Karl Cronburg1-0/+1
2016-06-13stat: treat !per_unit_logs() like IO offload modeJens Axboe1-4/+7
2016-06-11iolog: allocate 'cur_log's out of shared poolJens Axboe1-2/+3
2016-06-06stat: fix reversed check for ramp timeJens Axboe1-1/+1
2016-06-06stat: remove redundant unit log checkJens Axboe1-6/+0
2016-06-06Fix ramp time breakageJens Axboe1-1/+1
2016-05-27Added millisecond-accurate timestamp to JSON outputRyan Hardin1-4/+9
2016-05-20iolog: fix potential oops in iolog disablingJens Axboe1-12/+10
2016-05-20iolog: fix two bugs in deferred growingJens Axboe1-0/+6
2016-05-20iolog: regrow log out-of-lineJens Axboe1-10/+70
2016-05-19iolog: don't quiesce on completionJens Axboe1-13/+4
2016-05-19iolog: switch to list based schemeJens Axboe1-44/+102
2016-05-16stat: add blocksize to averaged log, if it's consistentJens Axboe1-4/+16
2016-05-06helper_thread: split into separate fileJens Axboe1-0/+1
2016-05-06stat: remove debug statementloggingJens Axboe1-1/+0
2016-05-06Improve logging accuracyJens Axboe1-31/+121