To unsubscribe from this group and stop receiving emails from it, send an email to ptools-perfapi+unsubscribe@icl.utk.edu.
To post to this group, send email to ptools-...@icl.utk.edu.
Visit this group at https://groups.google.com/a/icl.utk.edu/group/ptools-perfapi/.
According to Section 14.9.3 of Volume 3 of the Intel Architectures Software Developer’s Manual (document 325384, revision 067, May 2018) the RAPL counters are updated at intervals of approximately 1 millisecond.
While we don’t know anything about how this “approximately 1 millisecond” is determined internally, is not surprising that measurements with an intended spacing of approximately 1 millisecond will read the same value twice on occasion. One would expect measurements with intervals much shorter than 1 millisecond to have lots of repeats, and measurements noticeably larger than 1 millisecond to have no repeats. This seems to match your observations.
--
John D. McCalpin, Ph.D.
Texas Advanced Computing Center
University of Texas at Austin
https://www.tacc.utexas.edu/about/directory/john-mccalpin