Dataset containing a count of instructions executed by the proof-of-concept programs presented in the IEEE S&P 2023 paper "A Security RISC: Microarchitectural Attacks on Hardware RISC-V CPUs" with side-channel attacks (spectre, spectre-v1, access-retired, zigzagger, interrupt-timing, timer-drift, page-walk, evict-reload, fence-flush, prime_probe, iflush-reload, flush-reload, flush-flush, tlb-evict, flush-fault) with a total of 20 programs; along with the data obtained for 20 benign programs/reference sets (as, b2sum, base32, base64, basicmath, bitcount, bzip2, cat, cksum, cmp, colrm, cut, dpkg, factor, ffmpeg, matrixmult, stream, stressC, stressM, gcc). All programs run on an emulated RISC-V architecture, specifically with QEMU 8.2.2 with RV64GCV architecture.