summaryrefslogtreecommitdiff
path: root/src/report-entry-arrays.c
AgeCommit message (Collapse)Author
2021-10-10report-entry-arrays: use journal_read() for payloadHEADmasterVito Caputo
Replace the open coded fixed file read op with calling the buffered journal read interface, trivial cleanup.
2021-10-07report-entry-arrays: produce aggregate totalsVito Caputo
This introduces a final stats print identical to the per-journals stats, but for the running total every per-journal count contributes to.
2021-10-07report-entry-arrays: move stats print to functionVito Caputo
This also adds count/utilized members to the stats struct, so the stats print has them available in lieu of a profile.
2021-10-07report-entry-arrays: move cooked stats into structVito Caputo
More preparatory work for summarized stats...
2021-10-07report-entry-arrays: s/stats/profile/ more or lessVito Caputo
preparatory commit, the existing stats struct is really more about the state needed to produce stats (like the hash table for identifying duplicates)... just rename it to profile. A future commit will introduce a new stats struct encapsulating just the cooked stats currently simply printed per-journal as computed and forgotten, for use both per-journal and in summary.
2021-08-24thunk_h: bump submodule for new lifecycle modelVito Caputo
Udpate thunk usage througout to explicitly control thunk instance lifecycles from calleees according to new model. This enables discarding a bunch of the per-object dispatch thunks, eliminates some thunk leaks, and I think generally makes the code more expressive and clear about what's going on. Keep in mind this is all experimental and and I'm not spending a whole lot of time on this, it's mostly a toy and exploring some different programming styles I'd never really consider for production/real work. Though it actually has some interesting properties, and produces some surprisingly succinct and readable listings at times once you have the cumbersome building blocks in place. Especially for non-daemon programs where you can basically either log+ignore errors or treat them as fatal, I think this programming style might actually have its place.
2021-08-24report-entry-arrays: whitespace/indentation fixupVito Caputo
trivial
2021-08-16report-entry-arrays: fix braino in commentVito Caputo
s/quadratically/exponentially/
2021-08-15report-entry-arrays: read payloads via "fixed" fdVito Caputo
Take advantage of the registered fds.
2021-08-15report-entry-arrays: add %age to Unique EAs lineVito Caputo
The bucketized counts already have %ages, but not the overall count.
2021-08-14report-entry-arrays: cleanup per_object_dispatch()Vito Caputo
This doesn't make use of all the parameters it inherited from journal_iter_objects_dispatch(), so at least get rid of them if you're not going to just bite the bullet and refactor this thing out of the picture.
2021-08-14report-entry-arrays: EntryArrayObject statisticsVito Caputo
This gives some visibility into EntryArrayObject duplication and utilization statistics. It's not the tidiest of code, just something I slapped together last night.
© All Rights Reserved