> The concept of tsc, avg and bzy are from turbostat.
> Here is the definition from turbostat readme.
turbostat can do this because it is model specific, but perf user code
is not. It has to be architectural definitions only. And the architectural
definition of ASTATE MSTATE in the SDM is that it
>
> > + if (sample->read.time_running > 0) {
> > + freq.tsc_freq = (1000 * sample->tsc) / sample-
> >read.time_running;
> > + freq.avg_freq = (1000 * sample->aperf) / sample-
> >read.time_running;
> > + if (sample->aperf > 0)
> > + freq.bzy_freq =
> + if (sample->read.time_running > 0) {
> + freq.tsc_freq = (1000 * sample->tsc) /
> sample->read.time_running;
> + freq.avg_freq = (1000 * sample->aperf) /
> sample->read.time_running;
> + if (sample->aperf > 0)
> + freq.bzy_freq = fre
3 matches
Mail list logo