David Young
  1. David Young

swmr-demo

Public

Network

 
AuthorCommitMessageCommit Date
David YoungDavid Young
fd86e3b2524Tell how the credel demo is run.
David YoungDavid Young
16f72ce56b0Use native endianness by default, big-endian if the `-b` option flag is given.
David YoungDavid Young
b368fb2f359For ease of debugging/profiling, do not omit the frame pointer.
David YoungDavid Young
1a22d5a478bRun the `credel` binary that is in the same directory as the `benchmark` script.
David YoungDavid Young
b6c89a57045Exit with error if there are arguments on the command line other than the options.
David YoungDavid Young
ab13fac48fbAdd a comment with the what/why of the checkerboard pattern.
David YoungDavid Young
e004581aee2Delete all of the datasets and groups when the `-c` option flag is given.
David YoungDavid Young
fdb8e17dfe1Remove #if 1/#endif.
David YoungDavid Young
0d878569545Add `millis` to the state object and if it is zero, just skip the nanosleep(2) call.
David YoungDavid Young
032551b2be3Add a benchmark script.
David YoungDavid Young
d96b7b5ec53Update usage message.
David YoungDavid Young
6ab5395a20dCorrect a diagnostic message. NFCI.
David YoungDavid Young
e62726554d6Increase snprintf(3) buffer sizes. Thanks, GCC 8.3.0 -Wformat-truncation warnings!
David YoungDavid Young
2141ba1e5cdForce deletion, `rm -f`, so `rm` doesn't complain about missing files.
David YoungDavid Young
8f75b07da23Lower the freespace threshold to 1B from 1GB. The higher threshold probably did not have the desired effect, anyway: it only affects the size of free space regions that *persist* in the HDF5 file.
David YoungDavid Young
b5f0a9cf2b4Delete dead code. NFCI.
David YoungDavid Young
b22166e3dc8Use the new VFD SWMR configuration member name `writer` instead of `vfd_swmr_writer`.
David YoungDavid Young
3dd553b8141Indent using 8-column tabs. Wrap some lines. While I'm here, quiet a gcc8 warning about snprintf.
David YoungDavid Young
358913d6d4fAdd statistics counters. Add option flags -s to print statistics at end and -S to disable VFD SWMR mode. Let -v be supplied twice to increase the verbosity mode. Document oneshot mode, -o, in the usage message.
David YoungDavid Young
4abc5299d7dRepair indentation which was in a mixture of spaces and tabs. Wrap some lines and add curly braces. NFCI.
David YoungDavid Young
e6bee2ecbd9Make git ignore *.core in every directory. Sort content.
David YoungDavid Young
2f632af6c8bPass CFLAGS to the compiler.
David YoungDavid Young
53db02ad24aFix indentation. Initialize the VFD SWMR configuration to 0s.
David YoungDavid Young
8520bd4ef41Make git ignore vim's swap files.
David YoungDavid Young
62941752265Unless the reader is in constant-rate mode (option flag -c), make it slow down if it gets ahead of the writer, and speed up (or jump ahead) if it falls behind the writer.
David YoungDavid Young
73e20ddc369Remove unused option flag parsing and state variables. Update usage for new option flags.
David YoungDavid Young
4b7b68efc36Always (de)initialize the window with curses(3). Add some performance statistics for main-loop iterations.
David YoungDavid Young
a71a29f1c3cInsert a blank line for readability. Add -Werror to the C flags.
David YoungDavid Young
26236bcf09fMove some constants' definitions closer to where they are used.
David YoungDavid Young
b945e4c932aGive a name to the tick length.
David YoungDavid Young
44c80e23c5bUse an alias for `frame_dims`, `chunk_dims`, to set the chunk size.
David YoungDavid Young
31515e7ef50Delete some unnecessary diagnostic printfs.
David YoungDavid Young
95cc6c773adAdd timespec{cmp,add,sub,2ns} for my convenience.
David YoungDavid Young
5b1dde78880Check that the dataset has the expected type.
David YoungDavid Young
4172d70d67eDelete some more unused code.
David YoungDavid Young
fa4aa3cd298Delete/consolidate some unused code. Make whitespace consistent. Add a blank line to separate code into a couple of "stanzas". No functional change intended.
David YoungDavid Young
eed7ac85e23Retry opening the shadow file the default number of times.
David YoungDavid Young
428b379dde4Use the right path for the HDF5 file in my home directory.
David YoungDavid Young
68753379c56In an error message, don't call an H5Fcreate failure an H5Fopen failure.
David YoungDavid Young
ddaaa6c455eMake the `clean` target clean more files.
David YoungDavid Young
f6a85287986Initial commit of VFD SWMR demos: `credel` (cre)ates and (del)etes datasets and groups. `gaussians` generates a couple of 2-D Gaussian curves that move at a constant speed inside of a rectangle and bounce off its sides. `gaussians` just displays. `wgaussians` records the "image" of the 2-D Gaussians to an extensible dataset. `rgaussians` reads the dataset and uses `curses(3)` to displays it as a "movie".